Basic Linux commands and Linux commands
Cd-> transform path // file usually exists under/var/path, var can be modified storage disk
Ls-> list all properties of hidden and Related Files # ls-al
# Ls-al
-Rwxrwxrwx 1 root 293 2016-02-23 test
File property connection count file owner file user group size time file name
-Rwxrwxrwx 1 root 293 2016-02-23 test
Date-> current time cal-> calendar
Bc-> Calculator
Man-x-> menu (-x indicates the command)
Key: Tab-> command, file completion, or list commands and files with the same prefix in the same path
/Etc/passward-> SYSTEM account
/Shadow-> Password
/Group-> User group Name
- -A:-pdr
- -D: copy the file attributes instead of the file itself.
- -F: mandatory operations such as forced replication and forced Deletion
- -I: whether to perform the operation
- -L:
- -P: Copy (delete) operations with file attributes
# Chmod |
U user |
+ Join |
R: read |
File or directory |
G User Group |
-Remove |
W: write |
O others |
= Settings |
X: exe |
A All |
|
|
Directory:...-> directory on the previous Layer
--> Previous working directory
~ -> Home Directory of the current identity
Pwd-> display path
Mkdir-> create a directory
Cp-> copy rm-> Delete mv-> move
Compress-> compression and decompression (the compressed file is *. Z)
- Which: Find the execution File
- Whereis: Find a specific file
- Find: # find/-name passwd