1 file management # lsls-a lists all files in the current directory, including. header hidden file management # lsls-l or ll list detailed file information under the current directory file management # pwdpwd view the absolute path of the current directory by file management # cdcd .. back to the upper-level directory file management of the current directory # cdcd-back to the last directory file management # cdcd ~ Or cd back to the current user's home directory
1. File Management # ls-a lists all files in the current directory, including hidden files with a. header.
File Management # ls-l or ll lists the details of files in the current directory
File Management # pwd view the absolute path of the current directory
File Management # cd .. back to the upper-level directory of the current directory
File Management # cd-back to the last directory
File Management # cd ~ Or cd back to the current user's home directory
File Management # cd ~ The user name is returned to the specified user's home directory.
2. File Management # create a directory with the mkdir directory name
File Management # mkdir-p recursively create some nested Directories
File Management # rmdir Rmdir empty directory name to delete an empty directory
3. File Management # delete one or more files by rm file name
File Management # rm-rf non-empty directory name recursively deletes everything in a non-empty directory, without the mention of-f
4. File Management # view the file content on a single screen with cat file names
5. File Management # View File Content by page for more file names
6. File Management # The file content can be viewed on Controllable pages with less-than file names
7 file management # grep character file names view part of the file content based on character matching
8. File Management # Move the files under the music/video path/file path to the absolute path
File Management # change the name of the mv file in the current directory