Home > OS >  Linux
Linux

Time:09-20


Whoami -- -- -- -- -- the current user username
Whoami -- help -- -- -- -- -- help document
Whoami version - version information
Echo -- -- -- -- -- -- -- not in
Echo - e -- -- -- -- -- escape character
The PWD (print working directory) -- -- -- -- -- to print the current working directory
CD (change directory) -- -- -- -- -- to switch the current working directory
". "-- -- -- -- -- - said the current working directory
"..." -- -- -- -- -- said upper working directory directory
"-- -- -- -- -- --" said before a working directory (back up a directory)
"~" -- -- -- -- -- said the user's home directory
The mkdir - create a directory
Rmdir - delete the directory
Ls don't -- -- -- -- -- the current working directory file
The ls - a -- -- -- -- -- including the hidden files listed
Ls -l - long format list file (file name + file attribute information in detail)
Ls - al - long format to list all files in the directory specified
Chmod -- -- -- -- -- change the file or directory access
The cp (copy) copy -- -- -- -- --
The mv (move) move -- -- -- -- --
Mv - f -- -- -- -- -- (mandatory coverage)
Rm - delete
Touch - create a file
Ln (link)
Ln -s - []. Link to the file/link name
Ln -- -- -- -- -- a hard link
The tar - cf pack -- -- -- -- --
Tar - tf - check
Tar - f -- -- -- -- -- delete package
- A - - merger
- r - add
-The tar xf - -- -- -- -- -- to unpack the
Gzip compression
-- -- -- -- --Extract gzip - d -- -- -- -- --

CodePudding user response:

These commands too scattered, it is recommended that the block to learn commands, such as access, file transfer, compress and so on