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.

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

se[t] name=value<br />

Defines a variable with the given name and assigns it the given value,<br />

which may be a string or a number.<br />

se[t] noname<br />

Is the same as the unset name subcommand.<br />

sh[ell] Invokes the shell given by the SHELL environment variable.<br />

si[ze] [refs]<br />

Displays the size in bytes of each of the specified messages. If no refs are<br />

specified, the current message is used.<br />

so[urce] file<br />

Reads the specified text file, executes its contents as command-mode<br />

subcommands, and then returns to read more commands from the original<br />

source.<br />

to[p] [refs]<br />

Displays the first few lines of each of the specified messages. If refs is not<br />

specified, the current message is used. If the toplines variable has a<br />

numeric value, that many lines are displayed from each message;<br />

otherwise, five lines are displayed from each message.<br />

tou[ch] [refs]<br />

“Touches” the specified messages, making them appear to have been read.<br />

This means that when you quit mailx, the messages are saved in your<br />

mbox (personal mailbox) if they are not deleted or explicitly saved in<br />

another file. If refs is not specified, the current message is touched.<br />

T[ype] [refs]<br />

Is the same as the Print subcommand.<br />

t[ype] [refs]<br />

Is the same as the print command.<br />

una[lias] [alias[name ...]]<br />

Deletes specified alias names.<br />

u[ndelete] [refs]<br />

Restores previously deleted messages. When messages are deleted, they<br />

are not discarded immediately; they are just marked for deletion and are<br />

deleted when mailx ends. Until mailx ends, you can use undelete to<br />

restore the specified messages. You cannot undelete messages deleted in<br />

previous sessions. If you do not specify refs, this command restores the<br />

first deleted (but not yet undeleted) message following the current message;<br />

if no such message exists, it restores the last deleted (but not yet<br />

undeleted) message preceding the current message. If the autoprint<br />

variable is set, the last restored message is displayed. This is the only<br />

subcommand that lets you give a ref to a message that has been deleted.<br />

U[nread] [refs]<br />

Marks the specified messages as unread.<br />

uns[et] name ...<br />

Discards the specified variables.<br />

ve[rsion]<br />

Displays version information about mailx.<br />

mailx<br />

v[isual] [refs]<br />

Edits the specified messages with a screen editor. If refs is not specified,<br />

the current message is edited. The messages are saved in a temporary file<br />

Chapter 2. Shell command descriptions 381

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

Saved successfully!

Ooh no, something went wrong!