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.

Description<br />

Options<br />

Localization<br />

Exit Values<br />

Messages<br />

Portability<br />

tty displays the filename of the terminal device associated with the standard input.<br />

–s Does not display the name; the exit status of tty indicates whether the<br />

standard input is a terminal.<br />

tty uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

0 Standard input is a terminal<br />

1 Standard input is not a terminal<br />

2 Failure because of an unknown command-line option, or too many<br />

arguments<br />

Possible error messages include:<br />

Not a tty<br />

The standard input is not associated with a terminal.<br />

P<strong>OS</strong>IX.2, X/Open Portability Guide, <strong>UNIX</strong> systems.<br />

The P<strong>OS</strong>IX standard considers the –s option to be obsolete.<br />

type — Tell how the shell interprets a name<br />

Format<br />

Description<br />

Usage Note<br />

Localization<br />

type name ...<br />

type identifies the nature of one or more names. Names can be shell reserved<br />

words, aliases, shell functions, built-in commands, or executable files. For<br />

executable files, the full pathname is given.<br />

type is a built-in shell command.<br />

type uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

tty<br />

Chapter 2. Shell command descriptions 715

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

Saved successfully!

Ooh no, something went wrong!