code: 9ferno

ref: 6bb619c8db2867ddd9cd19c0aec05065f5ee0cae
dir: /man/1/cd/

View raw version
.TH CD 1
.SH NAME
cd \- change working directory
.SH SYNOPSIS
.B cd
[
.I directory
]
.SH DESCRIPTION
.I Cd
changes the working directory for the shell and all processes in its
name space group (see
.IR sys-pctl (2))
to
.IR directory .
If no argument is given,
.I cd
attempts to change to
.BI /usr/ user
where
.I user
is the name read from
.BR /dev/user .
.SH FILES
.B /dev/user
.SH SOURCE
.B /appl/cmd/cd.b
.SH "SEE ALSO"
.IR pwd (1),
.IR sys-chdir (2),
.IR sys-pctl (2),
.IR cons (3)