Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cd(C) — Xenix 2.3.4g

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pwd(C)

sh(C)

chdir(S)



     CD(C)                    XENIX System V                     CD(C)



     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 do not work with the cd command.

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

























     Page 1                                           (printed 8/7/87)



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