Name
cd
Synopsis
cd [options
] [dir
]
Change working directory to dir
. Default
is user’s home directory. If
dir
is a relative pathname but is not in
the current directory, the cdpath variable is searched. See the
sample .tcshrc file earlier in this chapter.
Options
- -
Change to previous directory.
- -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 Mac OS X Panther in a Nutshell, 2nd 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.