How do I go back a directory in terminal?

Ngân Lam

New member
How do I go back a directory in terminal?
Answer
The .. means “the parent directory” of your current directory, so you can use
cd ..
to go back (or up) one directory. cd ~ (the tilde). The ~ means the home directory, so this command will always change back to your home directory (the default directory in which the Terminal opens).
 

Tìm kiếm

Back
Top