This article is mainly used for common commands of the memo, the specific usage can be viewed by man, or query other information.
CD: Changing the working directory
LS: List contents of directory
mkdir: Create a directory
Cat: Connect and display information about one or more of the files specified
CP: Copy the given file or directory to another file or directory
MV: Renaming files or directories or moving files from one directory into another
RM: Delete one or more files or directories in a directory
Chown: Modifying file owners and groups
CHGRP: Changing the group ownership of a file
chmod: Changing the access rights of a file
grep: Searches for specific content in the specified file and adds the row standard output containing the content
Find: Searches for files in the specified directory, and its use rights are all users
Locate: Used to find files. The method is to set up a database that includes all the file names and paths within the system, and then simply query the database when looking for it, rather than actually going deep into the file system. So it's a lot faster than find.
LN: Creates a symbolic link for a file in another location. When it is necessary to use the same files in different directories, Linux allows the user not to store the same files in each required directory, but simply to link the files in the other directories with the LN command, thus eliminating the need to consume disk space repeatedly
"Linux Commands" file and directory operations commands