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

Create successful ePaper yourself

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

|<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 />

mailx<br />

displays all messages from alice plus all messages from lewis.<br />

The arguments allowed at the end of a command-mode subcommand depend on<br />

the subcommand itself. If a subcommand allows a filename as an argument, you<br />

can use the usual filename generation characters in the filename (see sh).<br />

Filenames, where expected, are subjected to the following transformation, in<br />

sequence:<br />

v If the filename begins with an unquoted plus sign, and the folder variable is<br />

defined, the plus sign will be replaced by the value of the folder variable followed<br />

by a slash. If the folder variable is unset or set to null, the filename will be<br />

unchanged.<br />

v Shell word expansions will be applied to the filename. If more than one<br />

pathname results from this expansion and the command is expecting one file, the<br />

multiple pathnames will be combined into one argument.<br />

The following list shows the subcommands recognized in command mode. In every<br />

subcommand name, some characters are enclosed in square brackets. These<br />

characters are optional. For example, the p[rint] command may be given as p, pr,<br />

pri, prin or print.<br />

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

Sets up an address alias. If you enter a subcommand to send mail to the<br />

given alias, the messages are sent to the given list of names. For example,<br />

you might enter the subcommand:<br />

alias joe JSMITH<br />

From this point onward, you can address messages to joe and they are<br />

sent to jsmith. You may also set up an alias for several people, as in:<br />

alias choir SOPRANO ALTO TENOR BASS<br />

After you have done this, you can send messages to choir and they are<br />

sent to the names that follow choir in the command.<br />

Alias substitution only takes place when alias is used as the whole mail<br />

address. Alias substitution doesn’t take place when replying to a message<br />

that has an alias match in the addresses.<br />

If you use only one argument, alias lists the value of that alias. For<br />

example, alias joe would display jsmith. Entering the alias subcommand<br />

without any arguments displays a list of the currently defined aliases.<br />

Note: Aliases entered interactively remain in effect only until the end of the<br />

current interactive session. To make an alias permanent, include the<br />

alias subcommand in your startup file (see “Startup Files” on page<br />

384). See also group.<br />

alt[ernates] name<br />

Lists a set of alternate names for your own login name. This is useful for<br />

people who login under several different names. When you reply to a<br />

message, mailx usually sends your reply to the author of the message and<br />

all the recipients as well; however, it does not send the message to any of<br />

your alternate login names. You don’t have to worry about sending mail to<br />

yourself.<br />

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

Specifying alternates without names displays your list of currently defined<br />

alternate names.

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

Saved successfully!

Ooh no, something went wrong!