December 2002
Intermediate to advanced
1616 pages
39h 57m
English
Changes to another working directory
cd [directory]
Without an argument cd makes your home directory the working directory. With a directory pathname as an argument, cd makes that directory the working directory.
The directory is the pathname of the directory you want to become your new working directory.
The cd program is a builtin in bash, tcsh, and zsh. Refer to the discussions of the HOME shell variable on pages 576 and 708. Chapter 4 contains a discussion of cd on page 108.
Each of the three shells has a variable (CDPATH
or cdpath
) that affects the operation of cd. The CDPATH variable contains a list of directories ...
Read now
Unlock full access