1 ubuntu file Management # ls ls-a lists all the files in the current directory, including the hidden file with the. Header
File Management # ls ls-l or ll lists the files in the current directory for more information
File Management # pwd pwd View the absolute path of the current directory
File Management # CD CD. Back to the top-level directory of the current directory
File Management # CD CD-back to the same directory
File Management # CD CD ~ or CD back to the current user's host directory
File Management # CD CD ~ User name back to the specified user's host directory
2 Ubuntu File Management # mkdir mkdir directory name Create a directory
File Management # mkdir mkdir–p recursive to create some nested directories
File Management # rmdir rmdir empty directory name Delete an empty directory
3 Ubuntu File Management # RM RM file name Delete a file or multiple files
File Management # RM RM-RF non-empty directory name recursively delete everything under a non-empty directory, do not let the lift-f
4 ubuntu File Management # Cat Cat file name one screen view file contents
5 Ubuntu File Management # More + more file Names Page view the contents of the files
6 file Management # Less file name controllable paging view contents
7 File Management # grep grep character file name according to character matching to view the contents of the file part
8 Ubuntu file Management # MV MV Path/File/warp/file movement relative to the path of the file to the absolute path through
File Management # MV MV FileName New name renamed in current directory
9 Ubuntu File Management # CP CP/Road Warp/file./move absolute path through the file into the current directory
Ubuntu File Management # Find find road via-name "string" finds paths in the range of files and directories that meet string matches
11 File Management # LN ln source file Link name create a hard link to the current directory source file
Ln/home/test/usr/test1 build/home/test hard link in/usr
Ubuntu File Management # ln ln-s A b Create a symbolic link under the current directory B
13 File Management # Touch Touch file1 file2 Create two empty files
Ubuntu File Management Command system