Cd


From Knoppix Documentation Wiki
Revision as of 07:55, 18 September 2005 by Dr Kludge (Talk | contribs)

Jump to: navigation, search

The cd command (change directory) in the Unix and Linux operating systems, is used to change the current working directory.

Note that cd has different effects on different operating systems if given with no arguments. For example, if executed without arguments in DOS, the current working directory is printed. If executed without arguments in Unix, then the user is returned to the home directory.

It is a command which is frequently included built into certain shells such as the Bourne shell, tcsh, and bash.