write to yourself:
May be updated every time things will be less, but want to make up, each update of the command to ensure that they do understand the update, every day will update some, let oneself gradually from small white to Daniel!
Cat Command
View the contents of a file and print it to a standard output device
Common Options -n numbers the number of lines of output starting from the first line
-e Displays the $ symbol at the end of each line
-B does not number blank lines
-S when two or more than two blank lines are contiguous, instead of blank lines for one line
MV Command
Can be used to move files or to change the name of a file
Common Options -T original file after, target directory in front
-F do not prompt for direct overwrite if the copied file already exists
RM Command
Delete Files command, can delete files can also delete directory
Common Option -R to delete a directory
--Delete thefile beginning with "-"
-RF Mandatory Delete no reminders (use with caution!) )
Tree Command
List contents of a directory as a tree view
common option -D displays only directory names
-P file is a directory tree that shows matching files to a file
-L: Show the first .. Layer Directory
mkdir Command
Create a directory that cannot be created without a parent directory
common option -P If there is no parent directory then automatically create a parent directory
RmDir Command
To delete an empty directory
common Option -P Remove from last level directory one at a time
LS command
used to view content under a specified working directory ( lists the files and subdirectories currently in the working directory )
Common Options -a show hidden files
-A shows hidden files but does not show ". "" .. "
-L not only lists file names, but also lists file patterns, permissions, owner, file size, etc.
-R files will also be listed if there are files in the directory
Touch Command
Can be used to create a new file or to make changes to an existing file for access time
common option -D uses the specified time instead of the current system time
CP Command
Used to copy files or directories
common Option -a preserves all properties of the file, including access time, etc.
-D Keep links when copying
-F If the file or directory already exists, the direct overwrite does not prompt
-I tip whether overwrite before overwrite
-R Copy all subdirectories or files under the directory file (recursive)
CD Command
Toggle Current Working Directory
Common options CD XXX switch to the xxx directory
CD ~ switch to your home directory
CD- switch to the last directory
TTY Command
Name used to display the current terminal link input device
Common commands
Useradd Command
Create a new user
Common Options -c plus notes
-D Displays the default settings when creating a user
-S Modify the shell type of the new user
-g Specifies the primary group for this new user
-g Specifies the additional group for this new user
-R created System account (default does not create home directory)
-M do not create home directory
Linux commands accumulate (more things are updated every day)