Cd

cd (change directory) is a command that lets you change your current working directory. It takes the basic form of:

cd DIRECTORY

Where the only argument is the directory you want to change your current directory to.

[edit] 1 Going up a directory

If you want to move to the parent directory of the current directory you are in, you can type:

cd ..

.. always stands for the parent directory. . always stands for your current directory.

[edit] 2 Going to your home directory

If you want to go to your home directory from any location, you can type:

cd ~/

because ~/ always stands for your home directory.

XHTML 1.1 CSS 2 Sec 508