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.

Usage notes<br />

Localization<br />

Exit Values<br />

Portability<br />

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

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

v LANG<br />

v LC_ALL<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

0 Successful completion<br />

1 <strong>Command</strong> name could not be found<br />

2 Failure due to an incorrect command-line argument<br />

P<strong>OS</strong>IX.2.<br />

Related Information<br />

command, sh<br />

who — Display information about current users<br />

Format<br />

Description<br />

Options<br />

who[–AabdHilmprsTtuw] [file]<br />

who –q[file]<br />

who am I|i<br />

who displays information about users who are logged into the system. By default,<br />

the output contains the user’s login name, terminal name, and the time that the user<br />

logged in. Normally, who consults the file /etc/utmpx for information, but you can<br />

use the file argument to specify another accounting file.<br />

When called as:<br />

who am i<br />

or<br />

who am I<br />

who displays your login name, terminal, and login time. This command works only<br />

in the P<strong>OS</strong>IX locale.<br />

–A Displays all accounting entries.<br />

–a Displays all types of entries. This is equivalent to specifying<br />

–AbdHilprTtuw.<br />

–b Displays all entries written at system boot time.<br />

whence<br />

Chapter 2. Shell command descriptions 791

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

Saved successfully!

Ooh no, something went wrong!