RMRF * Recursive deletion
Ln-s Source Target
| pipe command
Give the result of the previous command | After the command is processed
File Content Lookup
Cat starts displaying file contents from the first line
The TAC starts with the last line showing
Output line number when NL is displayed
More page shows the contents of a file
Less is similar to more, it can page forward
Head's just a few lines.
Tail only a few lines in the end.
Od reads the file contents in binary mode
Touch Create a new file or modify the file time
grep query Content
REDIRECT Command
Ls-l > A.txt The contents of the list are written to the file
Ls-l >>a.txt Append write to File
TAR-ZXVF File Decompression
& on the console to run
View disk usage
DF [-parameter]
such as Df-l
See which partition a directory is in
DF [Directory full path] There are some memory device management, Udev, SDA1, sda2 and so on device information
View Linux system partition specifics
Fdisk-l
echo $PATH (uppercase)
viewing file paths
History shows some of the most recently used commands
History 5 shows the 5 most recently used commands
Basic Linux Commands