The concept of switching and path path: Linux

Path is divided into absolute and relative paths
absolute path: is the full path to the directory or file
relative path: a file or directory is the current directory

Root: /
home directory: the average user's home directory under / home, root user's home directory is / root

Command to switch directories

cd absolute path / relative path

Go back one level

cd ..

Return home directory

cd

Guess you like

Origin www.cnblogs.com/yanlzy/p/11870546.html