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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

tcsh: dirs<br />

Description<br />

dirs used alone prints the directory stack in the following format: The top of the<br />

stack is at the left and the first directory in the stack is the current directory. For<br />

example:<br />

> cd pushd /bin pushd /tmp dirs dirs -l dirs -v popd pwd<br />

/bin<br />

Note: dir=directory<br />

Options<br />

–l Output is expanded explicitly to home or the pathname of the home<br />

directory for the user.<br />

-n Entries are wrapped before they reach the edge of the screen.<br />

-v Entries are printed one per line, preceded by their stack postions.<br />

If more than one of -n or -v is given, -v takes precedence.<br />

-S Saves the directory stack to filename as a series of cd and pushd<br />

commands.<br />

-L The tcsh shell sources filename, which is presumably a directory stack file<br />

saved by the -S option or the savedirs mechanism. In either case, dirsfile<br />

is used if filename is not given and ~/.cshdirs is used if dirsfile is unset.<br />

Login shells do the equivalent of dirs -L on startup and, if savedirs is set,<br />

you should issue dirs -S before exiting. Because only ~/.tcshrc is normally<br />

sourced before ~/.cshdirs, dirsfile should be set in ~/.tcshrc instead of<br />

~/.login.<br />

–c Clear the directory stack.<br />

Related information<br />

tcsh<br />

echotc built-in command for tcsh: Exercise the terminal capabilities in<br />

args<br />

Format<br />

echotc [-sv] arg ...<br />

Description<br />

echotc takes advanatage of the terminal capabilities in args. For example, echotc<br />

cm 3 10 sends it to column 3 and row 10.<br />

680 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

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

Saved successfully!

Ooh no, something went wrong!