code: 9ferno

ref: 44ce0097b612a1fefd754065bdf8d9d2e5ef60c8
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)