aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/cd.txt
blob: 9bd88a0aebb32c125e91bddbc7b61f3cb114a911 (plain)
1
2
3
4
5
6
7
8
9
10
11
\section cd cd - change directory

\subsection cd-synopsis Synopsis
<tt>cd [DIRECTORY]</tt>

\subsection cd-description Description Changes the current
directory. If <tt>DIRECTORY</tt> is supplied it will become the new
directory. If \c DIRECTORY is a relative path, the paths found in the
CDPATH environment variable array will be tried as prefixes for the
specified path. If CDPATH is not set, it is assumed to be '.'. If \c
DIRECTORY is not specified, \$HOME will be the new directory.