Linux in the cd command usage

cd [a relative or absolute path]

cd ~ (or parameters) into the user's home directory
cd - Catalog prior to entering this
CD ... back one level
CD ... / ... Return two directory (hereinafter, ... can always add / back more upper-level directory)
cd / root directory enter
cd. the current directory

ps: refer to the absolute position of the absolute path of the directory, such as / etc / sysconfig / network-scripts / ifcfg-ens33;
relative path relative to the current letter refers to the location, such as in network-scripts entered in sysconfig: / sysconfig / network -scripts

Guess you like

Origin blog.51cto.com/14449798/2428984
Recommended