next up previous contents
Next: Listing Files (ls) Up: ``Elementary'' Commands Previous: Where are we? (pwd)

Changing Directories (cd)

 

The general command for changing directories is the cd command. If our home directory is /home/Igor, it follows that there must be a /home directory: i.e. that Igor is a subdirectory of /home.

We could change our current directory to /home by entering the command:

 % cd /home

 % pwd
 /home


next up previous contents
Next: Listing Files (ls) Up: ``Elementary'' Commands Previous: Where are we? (pwd)

Gordon Haverland
Sat Oct 9 13:50:48 MDT 1999