Linux command to return to the previous directory

pwd shows the current working directory

cd .. go back one level

cd - just returned directory cd - returns the name of the directory specified directory

cd cd ~ or return to the main directory cd / root Back

cd ../ .. return to the two directories

 

Published 221 original articles · won praise 207 · views 170 000 +

Guess you like

Origin blog.csdn.net/qq_29720657/article/details/104773950