View Help:
Man command
Exit Help directory: Q
Switch directory: CD
CD Catalog
CD Directory/Directory
Cd.. : Top level Directory
CD/: Root directory
CD ~: Home
Creating directories and deleting directories
mkdir Create mkdir directory name
Mkdir-p a/b/c
RmDir Delete
RmDir directory Name: Only one empty directory can be deleted
List of files in the presentation directory (ll can be used later)
Ls
LS: The name of the visible file (and directory) to be displayed
Ls-a: Show the names of all the files
The file is preceded by "." It represents a hidden file.
Ls-l: Show file details
Shorthand Way: LL (★)
Ll-h: Friendly display
Browse files
Cat: Display all the contents of a file
Cat file name
MORE: Pagination Display
Spaces: Next Page
Enter: Next line
Less: Pagination display
Can be viewed via PgUp PgDn page
Tail (★)
View the contents of a file later
Tail-Show the following lines of file names
Tail-f file name
Dynamic viewing
For example:
Tail-f Catalina.xxx.log
End scrolling view with CTRL + C
Some common commands for Linux beginners (1)