Nguyễn Đôn Hào
New member
How do I go up 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).
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).