Linux 命令速查表
带说明的可搜索Linux/Bash命令参考。
加载工具中...
相关工具
关于此工具
带说明的可搜索Linux/Bash命令参考。
带说明的可搜索Linux/Bash命令参考。
带说明的可搜索Linux/Bash命令参考。
ls -laList all files with detailscd /pathChange directorypwdPrint working directorymkdir -p dir/subCreate nested dirsrm -rf dirRemove dir recursivelycp -r src dstCopy recursivelymv src dstMove/renamefind . -name '*.txt'Find files by nameln -s target linkCreate symlinkcat filePrint file contentless fileView file paginatedhead -n 20 fileFirst 20 linestail -f fileFollow file (live)grep -rn 'pattern' .Search in fileswc -l fileCount linessort fileSort linesuniqRemove duplicatesawk '{print $1}' filePrint first columnchmod 755 fileSet permissionschmod +x fileMake executablechown user:group fileChange ownerls -laView permissionsumask 022Set default maskps auxList processestopProcess monitorkill -9 <PID>Force killpkill -f nameKill by namenohup cmd &Run in backgroundjobsList jobsbg / fgBackground/foregroundcurl -I <url>HTTP headerswget <url>Download filenetstat -tlnpListening portsss -tlnpSocket statsping hostPing hosttraceroute hostTrace routenmap -sV hostPort scandf -hDisk usagedu -sh *Dir sizesfree -hMemory usageuname -aSystem infouptimeSystem uptimewhoamiCurrent usersudo !!Repeat as sudo