1. Special Catalogue
. Represents the current directory
.. Represents a previous level directory
-Represents the previous working directory (the directory in which the current directory was before it was entered)
~ Represents the home folder where the current user resides
~account represents the home folder of the account user
2. Working with directory common commands
CD (change directory): Switch directories, enter CD only to represent CD ~
PWD (pring working directory): Displays the current directory, Pwd-p displays the correct directory name instead of displaying it as a link file, eg cd/var/mail
[Email Protected]:/var/mail $ pwd-p
/var/spool/mail
[Email Protected]:/var/mail $ pwd
/var/mail
mkdir: Set permissions when new directory-M new directory,-p recursively create multilevel directory
RmDir: Delete Empty directory-P along with upper empty directory
3. Execute File Path variable $path
A. Different identity users default path, the default can be arbitrary execution of the command is also different
B.path can be modified
C. A command under a nondefault path can be executed by specifying the file name of a command directly with an absolute or relative path.
D. Commands should be placed in the correct directory, the implementation will be more convenient
E. Current directory (.) Better not put it in path.
Linux Directory Management