cd(1T) Tcl Built-In Commands cd(1T)
__________________________________________________________________________________________________________________________________________________
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 (in a threaded environment) all threads.
EXAMPLES
Change to the home directory of the user fred:
cd ~fred
Change to the directory lib that is a sibling directory of the current one:
cd ../lib
SEE ALSO
filename(1T), glob(1T), pwd(1T)
KEYWORDS
working directory
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWTcl |
+--------------------+-----------------+
|Interface Stability | Uncommitted |
+--------------------+-----------------+
NOTES
Source for Tcl is available on http://opensolaris.org.
Tcl cd(1T)