|
|
1.1 root 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: .\"
5: .\" @(#)cd.1 6.1 (Berkeley) 4/29/85
6: .\"
7: .TH CD 1 "April 29, 1985"
8: .UC 4
9: .SH NAME
10: cd \- change working directory
11: .SH SYNOPSIS
12: .B cd
13: directory
14: .SH DESCRIPTION
15: .I Directory
16: becomes the new working directory.
17: The process must have execute (search)
18: permission in
19: .IR directory .
20: .PP
21: Because a new process is created to execute each command,
22: .I cd
23: would be ineffective if it were written as a
24: normal command. It is therefore recognized and executed
25: by the shells.
26: In
27: .IR csh (1)
28: you may specify a list of directories in which
29: .I directory
30: is to be sought as a subdirectory if it is not
31: a subdirectory of the current directory;
32: see the description of the
33: .I cdpath
34: variable in
35: .IR csh (1).
36: .SH "SEE ALSO"
37: csh(1), sh(1), pwd(1), chdir(2)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.