Cd


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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 no arguments are supplied to the command. 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 their home directory.

cd is a command that is frequently built into certain shells such as the Bourne shell, csh, tcsh, and bash.