CD(1) UNIX Programmer's Manual CD(1)
cd - change working directory
S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
_
\bD_
\bi_
\br_
\be_
\bc_
\bt_
\bo_
\br_
\by becomes the new working directory. The process
must have execute (search) permission in _
\bd_
\bi_
\br_
\be_
\bc_
\bt_
\bo_
\br_
\by.
Because a new process is created to execute each command, _
\bc_
\bd
would be ineffective if it were written as a normal command.
It is therefore recognized and executed by the shells. In
_
\bc_
\bs_
\bh(1) you may specify a list of directories in which _
\bd_
\bi_
\br_
\be_
\bc_
\b-
_
\bt_
\bo_
\br_
\by is to be sought as a subdirectory if it is not a sub-
directory of the current directory; see the description of
the _
\bc_
\bd_
\bp_
\ba_
\bt_
\bh variable in _
\bc_
\bs_
\bh(1).
S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
csh(1), sh(1), pwd(1), chdir(2)
Printed 7/9/88 April 29, 1985 1