4.2BSD/usr/man/man1/cd.1

Compare this file to the similar file:
Show the results in this format:

.TH CD 1 "5 April 1980"
.UC 4
.SH NAME
cd \- change working directory
.SH SYNOPSIS
.B cd
directory
.SH DESCRIPTION
.I Directory
becomes the new working directory.
The process must have execute (search)
permission in
.IR directory .
.PP
Because a new process is created to execute each command,
.I cd
would be ineffective if it were written as a
normal command.  It is therefore recognized and executed
by the shells.
In
.IR csh (1)
you may specify a list of directories in which
.I directory
is to be sought as a subdirectory if it is not
a subdirectory of the current directory;
see the description of the
.I cdpath
variable in
.IR csh (1).
.SH "SEE ALSO"
csh(1), sh(1), pwd(1), chdir(2)