Provided by: tcl9.0-doc_9.0.1+dfsg-2_all bug

NAME

       cd - Change working directory

SYNOPSIS

       cd ?dirName?
________________________________________________________________________________________________________________

DESCRIPTION

       Change  the  current  working  directory  to  dirName, or to the home directory (as specified in the HOME
       environment variable) if dirName is not given.  Returns an empty string.

       Note that the current working directory is a per-process resource; the cd  command  changes  the  working
       directory for all interpreters and all threads.

EXAMPLES

       Change to the home directory of the user fred:

              cd [file home fred]

       Change to the directory lib that is a sibling directory of the current one:

              cd ../lib

SEE ALSO

       filename(3tcl), glob(3tcl), pwd(3tcl)

KEYWORDS

       working directory

Tcl                                                                                                     cd(3tcl)