DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

cd(1)


cd -- change working directory

Synopsis

/usr/bin/cd [directory]

Description

This shell script executes the builtin command of the same name as implemented by the /u95/bin/sh( ) shell. See ksh(1) for more information on this shell.

If directory is not specified, the value of shell parameter $HOME is used as the new working directory. If directory specifies a complete path starting with ``/'', ``.'', or ``..'', directory becomes the new working directory. If neither case applies, cd tries to find the designated directory relative to one of the paths specified by the $CDPATH shell variable. $CDPATH has the same syntax as, and similar semantics to, the $PATH shell variable. cd must have execute (search) permission in 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 by and is internal to the shell.

Files


/usr/lib/locale/locale/LC_MESSAGES/uxcore.abi
language-specific message file (see LANG on environ(5)).

References

chdir(2), pwd(1), ksh(1)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004