Unix Reference

The cd command (change directory)

Video

The cd command is used to change the directory where you are currently working. The command accepts absolute or relative paths, and you will use it every time you log onto the myth computers.

To change to your home directory:

cd ~

or

cd

To change to the parent directory:

cd ..

To change to a sibling directory:

cd ../siblingName

Back to contents