Ls:list
-L: Long format
-A: Show All Files
-A: Shows all files including. and..
-D: Show directory
-H: for human Reading
-R: Reverse Display
-R: Recursive display
-I: Displays the inode of the file (the index node number of the file)
Ls-l Display Content Description:
1. First column: File type
-: Normal file
D: Catalog Files directory
B: Block device file
C: Character device character
L: Link File symbolic link
P: Piping Equipment pipe
S: Socket file socket
2, file permissions: Nine bits, each three bits for a group, respectively, is owner, group, other three group, and three bits are rwx respectively.
3, the number of hard links to the file.
4. Owner of the document
5. Group of documents
6. File Size (bytes)
7. Last modified time of file (Mtime). A timestamp of a total of three timestamps (timestamp):
Access time;
Modify time file modified;
Change time Meta data (metadate)
8. File name
Cd:change Directory
CD or CD ~: Go to the current user's home directory
CD ~ ' username ': Go to Username's home directory
CD-: Return to previous working directory
Type ' CMD ': Display file types: Built-in command (shell built-in) or external command (corresponding to an executable file)
Printenv: Displays the current environment variable
Clear: or ctrl+l clear screen
Hash: Show command cache table and hit count
Date
Clock
Hwclock:
Linux Basic 4 Common commands