Name
cd
Synopsis
cd [options
] [dir
]
Change working directory to dir;
default is home directory of user. If dir is
a relative pathname but is not in the current directory, the
cdpath
variable is searched.
See the section "Sample
.tcshrc File" earlier in this chapter.
Options
-
-
Change to previous directory. (Compare to popd, which manipulates the directory stack.)
-
-l
Explicitly expand ~ notation; implies
-p
.-
-n
Wrap entries before end-of-line; implies
-p
.-
-p
Print directory stack.
-
-v
Print entries one per line; implies
-p
.
Get Unix in a Nutshell, 4th Edition 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.