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