cd(n) Tcl Built-In Commands cd(n)
_________________________________________________________________________________________________
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(n), glob(n), pwd(n)
KEYWORDS
working directory
Tcl cd(n)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache/2.4.6 (CentOS)
Under GNU General Public License
2025-06-23 22:12 @127.0.0.1 CrawledBy Wget/1.21.2