Linux 命令

常见 Linux shell 命令备忘单

CommandDescription
lsList directory contents
cdChange the shell working directory
pwdPrint name of current/working directory
catConcatenate files and print on the standard output
cpCopy files and directories
mvMove (rename) files
mkdirMake directories
rmRemove files or directories
grepPrint lines that match patterns
findSearch for files in a directory hierarchy
chmodChange file mode bits
chownChange file owner and group
tarAn archiving utility
dfReport file system disk space usage
topDisplay Linux processes
psReport a snapshot of the current processes