BSD 4_2 development
[unix-history] / usr / man / man1 / cd.1
CommitLineData
cb3f4193
C
1.TH CD 1 "5 April 1980"
2.UC 4
3.SH NAME
4cd \- change working directory
5.SH SYNOPSIS
6.B cd
7directory
8.SH DESCRIPTION
9.I Directory
10becomes the new working directory.
11The process must have execute (search)
12permission in
13.IR directory .
14.PP
15Because a new process is created to execute each command,
16.I cd
17would be ineffective if it were written as a
18normal command. It is therefore recognized and executed
19by the shells.
20In
21.IR csh (1)
22you may specify a list of directories in which
23.I directory
24is to be sought as a subdirectory if it is not
25a subdirectory of the current directory;
26see the description of the
27.I cdpath
28variable in
29.IR csh (1).
30.SH "SEE ALSO"
31csh(1), sh(1), pwd(1), chdir(2)