29.06.2013 Views

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Exit Status<br />

Related Information<br />

Examples<br />

-n Display the name of the user or group identifier for the -G, -g and -u<br />

options instead of the number. If any of the identifier numbers cannot be<br />

mapped into names, the number will be displayed as usual.<br />

-p Make the output human-readable. The user identifier as a name is<br />

displayed, preceded by the keyword “uid”. If the effective user identifier is<br />

different from the real user identifier, the real user identifier is displayed as<br />

a name, preceded by the keyword “euid”. If the effective group identifier is<br />

different from the real group identifier, the real group identifier is displayed<br />

as a name, preceded by the keyword “rgid”. The list of groups to which the<br />

user belongs is then displayed as names, preceded by the keyword<br />

“groups”. Each display is on a separate line.<br />

-r Display the real identifier for the -g and -u options instead of the effective<br />

identifier.<br />

-u Display the effective user identifier as a number.<br />

v 0 on success<br />

v >0 if an error occurs.<br />

v logname - Return user’s login name<br />

1. Display all user and groups identifiers that belong to the user “SAM”.<br />

id -p SAM<br />

uid SAM<br />

groups 500, 1<br />

logger - Log messages<br />

Synopsis<br />

Description<br />

Options<br />

[ Legal | AS/400 Glossary ]<br />

logger [-is] [-f file] [-t tag] [message ...]<br />

The logger utility provides a shell command interface for writing messages to the<br />

QHST system log. If message is not specified, and the -f flag is not provided,<br />

standard input is logged.<br />

-i Log the process id of the logger process with each line.<br />

-s Log the message to standard error, as well as the system log.<br />

-f Log the specified file.<br />

Chapter 4. Utilities 109

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

Saved successfully!

Ooh no, something went wrong!