From Knoppix Documentation Wiki
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.