C-PLOT

Scientific Graphics and Data Analysis

2.4. - cd change directory



changes the current working directory of the program, letting you move about the directory tree into the directories that contain the files you want to access.
cd
or
cd directory
Entered without arguments, cd changes the working directory to your home directory and prints its name as confirmation. Otherwise, C-PLOT changes the working directory to the name given as the argument and only prints a message if it cannot do that.

All subsequent subshells and subprocesses of C-PLOT will have the new directory as their initial working directory. Changing directory won't change the working directory of any subprocesses (user functions and filters) that are already running, nor will it change the directory of C-PLOT's parent process. All file names that you use in any of the commands are taken with respect to the current working directory. However, you can use the se command to set directories that will be searched for command files used with the do command and for data files used with the gd command if such files aren't in the current directory.

Changing the directory of a subshell created with the u command (described next) doesn't change C-PLOT's current directory. However, entering upwd will print the name of the current working directory.