spec

Software for Diffraction

cd

change working directory

SYNOPSIS

cd [directory]

DESCRIPTION

cd is used to change spec's current working directory. Without arguments, cd changes spec's current working directory to your home directory.

DEFINITION

def cd 'chdir("$*")'

GLOBALS

CWD
built-in string variable holding the full path name of the current working directory.

EXAMPLE

cd data/Si

WARNING

Note that the UNIX escape u cd or unix("cd") has no effect as only the working directory of a temporary sub-shell is changed.

SEE ALSO

UNIX User Reference Manual