more fixes
[unix-history] / usr / src / share / man / man1 / cd.1
CommitLineData
60aceb15
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
d909a2a9 5.\" @(#)cd.1 6.1 (Berkeley) %G%
60aceb15 6.\"
d909a2a9 7.TH CD 1 ""
60aceb15
KM
8.UC 4
9.SH NAME
10cd \- change working directory
11.SH SYNOPSIS
12.B cd
13directory
14.SH DESCRIPTION
15.I Directory
16becomes the new working directory.
17The process must have execute (search)
18permission in
19.IR directory .
20.PP
21Because a new process is created to execute each command,
22.I cd
23would be ineffective if it were written as a
24normal command. It is therefore recognized and executed
25by the shells.
26In
27.IR csh (1)
28you may specify a list of directories in which
29.I directory
30is to be sought as a subdirectory if it is not
31a subdirectory of the current directory;
32see the description of the
33.I cdpath
34variable in
35.IR csh (1).
36.SH "SEE ALSO"
37csh(1), sh(1), pwd(1), chdir(2)