cd
Change directory
Usage: cd dirname
Standard Input: Not used
Standard Output: Not used except for CDPATH (see following Note)
SEE ALSO
For more information, see page 62 |
Note
If no dirname is given, cd takes you to your home directory. If a dirname is a basename, cd will check whether dirname is a subdirectory of any parent directory in CDPATH. If so, cd will change to that directory and output its full pathname to Standard Output.
Get Practical UNIX 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.