Difference between revisions of "Cd"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
 
Line 8: Line 8:
 
  cd -
 
  cd -
 
changes to the directory you were in before the last cd command.
 
changes to the directory you were in before the last cd command.
 +
 +
[[Category:Command]]

Latest revision as of 13:04, 22 December 2011

This is about the command cd. If you are interested in compact disks, see CD.

cd is a command to change the directory you are in:

cd /tmp

changes to the directory /tmp

cd

changes to your home directory

cd -

changes to the directory you were in before the last cd command.