• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

cd

cd

cd Changes working directory.
cd <directory>

cd

 
<directory> is an absolute or relative pathname. The interpretation of the relative pathname depends on the CDPATH environment variable.
The following environment variables affect the execution of cd:
HOME If cd is invoked without any arguments and the $HOME exists, $HOME becomes the new working directory.
CDPATH If <directory> does not begin with /, ., or .., cd searches for the directory relative to each directory named in CDPATH variable, in the order listed. If the new working directory is derived from $CDPATH, it is printed to standard output.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint