icon Top 9 categories map      RocketAware >


Tips: Browse or Search all pages for efficient awareness of more than 6000 of the most popular reusable and open source applications, functions, libraries, and FAQs.

The "RKT couplings" below include links to source code, updates, additional information, advice, FAQs, and overviews.


Search all pages


By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Integer, Floating point, Matrix, Statistics, Boolean, ...

Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...


RocketLink!--> Man page versions: OpenBSD NetBSD

[IEEE Std1003.2-1992 (``POSIX.2'')]

CD(1)                      OpenBSD Reference Manual                      CD(1)

     cd - change working directory

     cd directory

     directory is an absolute or relative pathname which becomes the new work-
     ing directory.  The interpretation of a relative pathname by cd depends
     on the CDPATH environment variable (see below).

     Note that cd is implemented as a built-in command in all shells and not
     as a stand-alone program.  Because each process has its own working di-
     rectory, a separate cd utility would have no effect (it would change the
     directory and exit, leaving the working directory in the parent un-
     changed).  Different shells may implement cd with features different from
     those described here.  Please consult the manual for your specific shell.

     The following environment variables affect the execution of cd:

     CDPATH  If the directory operand does not begin with a slash (`/') char-
             acter, and the first component is not dot (`.') or dot-dot
             (`..'), cd searches for the directory relative to each directory
             named in the CDPATH variable, in the order listed.  The new work-
             ing directory is set to the first matching directory found.  An
             empty string in place of a directory pathname represents the cur-
             rent directory.  If the new working directory was derived from
             CDPATH, it will be printed to the standard output.

     HOME    If cd is invoked without arguments and the HOME environment vari-
             able exists and contains a directory name, that directory becomes
             the new working directory.

     See environ(7) for more information on environment variables.

     The cd utility exits 0 on success or >0 if an error occurred.

     csh(1),  pwd(1),  sh(1),  chdir(2)

     The cd command is expected to be IEEE Std1003.2 (``POSIX.2'') compatible.

OpenBSD 2.6                      June 5, 1993                                1

Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.

(Corrections, notes, and links courtesy of RocketAware.com)

[Detailed Topics]
FreeBSD Sources for cd(1)

[Overview Topics]

Up to: Command Shells and Scripting Languages

RocketLink!--> Man page versions: OpenBSD NetBSD

[IEEE Std1003.2-1992 (``POSIX.2'')]

Rapid-Links: Search | About | Comments | Submit Path: RocketAware > cd.1/
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments