16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 32. tcsh Built-in Shell Variables (continued)<br />

Variable Purpose<br />

correct If set to cmd, commands are automatically<br />

spelling-corrected. If set to complete, commands are<br />

automatically completed. If set to all, the entire command<br />

line is corrected.<br />

cwd The full pathname of the current directory. See also the<br />

dirstack and owd shell variables.<br />

dextract If set, pushd +n extracts the nth directory from the<br />

directory stack instead of rotating it to the top.<br />

dirsfile The default location in which dirs -S and dirs -L look for<br />

a history file. If unset, ~/.cshdirs is used. Because only<br />

~/.tcshrc is normally sourced before ~/.cshdirs, dirsfile<br />

should be set in ~/.tcshrc instead of ~/.login.<br />

For example:<br />

set dirsfile = ~/.cshdirs<br />

dirstack An array of all the directories on the directory stack.<br />

$dirstack[1] is the current working directory, $dirstack[2]<br />

the first directory on the stack, etc. Note that the current<br />

working directory is $dirstack[1] but =0 in directory stack<br />

substitutions, etc. One can change the stack arbitrarily by<br />

setting dirstack, but the first element (the current working<br />

directory) is always correct. See also the cwd and owd<br />

shell variables.<br />

dunique If set, pushd removes any instances of name from the<br />

stack before pushing it onto the stack.<br />

tcsh<br />

echo If set, each command with its arguments is echoed just<br />

before it is executed. For non-built-in commands all<br />

expansions occur before echoing. Built-in commands are<br />

echoed before command and filename substitution, since<br />

these substitutions are then done selectively. Set by the<br />

-x command line option.<br />

Chapter 2. Shell command descriptions 657

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!