The cd command “changes directory” to move into a directory. But how do you move back out of the current directory?
The answer is two dots: ..
.. is a special alias that refers to “the parent directory.” It’s a shortcut that you can use to move up one level in the directory tree.
If you chain multiple .. segments together:
cd ../..Then you will move up that many directories in Learn Linux