cd, chdir, pushd, popd, dirs — Change Working Directory
Synopsis
/usr/bin/cd [directory]
sh
cd [argument] chdir [argument]
csh
cd [dir] chdir [dir] pushd [+n | dir] popd [+n] dirs [-l]
ksh
cd [arg] cd old new
Description
You can move between directories by using the cd (change directory) command. Depending on the shell you are using, you may have alternative ways to change directories.
The /usr/bin/cd command changes the working directory of the current shell execution environment. When you use the cd command with no arguments and the HOME environment variable is set, cd changes the new working directory to the directory named in the HOME environment variable.
Bourne Shell
The Bourne shell built-in cd command changes the current ...
Get Solaris™ 7 Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.