Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cd(C) — OpenDesktop 1.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pwd(C)

sh(C)

chdir(S)

CD(C)


     CD(C)                                UNIX System V



     Name
          cd - changes working directory


     Syntax
          cd [ directory ]


     Description
          If specified, directory becomes the new  working  directory;
          otherwise  the  value  of the shell parameter $HOME is used.
          The process must have search  (execute)  permission  in  all
          directories  (components)  specified in the full pathname of
          directory.

          Because a new process is created to execute each command, cd
          would be ineffective if it were written as a normal command;
          therefore, it is recognized and executed by the shell.

          If the shell is reading its commands from  a  terminal,  and
          the  specified  directory  does not exist (or some component
          cannot be searched), spelling correction is applied to  each
          component  of  directory,  in  a  search for the ``correct''
          name.  The shell then asks whether or not to try and  change
          directory  to  the  corrected directory name; an answer of n
          means ``no'', and anything else is taken as ``yes''.


     Notes
          Wildcard designators will work with the cd command.


     See Also
          pwd(C), sh(C), chdir(S)


     (printed 2/15/90)                                      CD(C)













































































































































































































































































































































































































































































































































































Typewritten Software • bear@typewritten.org • Edmonds, WA 98026