Query: cd
OS: netbsd
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CD(1) BSD General Commands Manual CD(1)NAMEcd -- change working directorySYNOPSIScd directoryDESCRIPTIONDirectory is an absolute or relative pathname which becomes the new working directory. The interpretation of a relative pathname by cd depends on the CDPATH environment variable (see below).ENVIRONMENTThe following environment variables affect the execution of cd: CDPATH If the directory operand does not begin with a slash (/) character, 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 working directory is set to the first matching directory found. An empty string in place of a directory pathname represents the current 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 variable exists and contains a directory name, that directory becomes the new working directory. See csh(1) for more information on environment variables. The cd utility exits 0 on success, and >0 if an error occurs.SEE ALSOcsh(1), pwd(1), sh(1), chdir(2)STANDARDSThe cd command is expected to be IEEE Std 1003.2 (``POSIX.2'') compatible.BSDJune 5, 1993 BSD
Related Man Pages |
---|
dirs(1) - sunos |
popd(1) - suse |
popd(1) - osf1 |
chdir(1) - x11r4 |
chdir(1) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
.exrc is not working |
check if a directory exists if not make it |
Link to a directory |
Add part of pathname/subfolder name to beginning of filename |
Scripts dont give a consistent output.. |