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

cd directory<br />

Makes directory your new working directory. If no directory is specified, cd<br />

goes to your HOME directory.<br />

ch[dir] directory<br />

Is the same as cd.<br />

c[opy] [refs] [filename]<br />

Copies the messages referred to by refs into the given file. The filename<br />

must be specified. If the file does not already exist, it is created.<br />

If no refs are specified, the current message is saved. If no filename is<br />

specified, your mbox is saved.<br />

This operation does not mark the message as saved; if it was previously<br />

unread, it is still regarded as an unread message. Thus, the original<br />

message remains in your system mailbox. See also save.<br />

C[opy] [refs]<br />

Is similar to the copy command, except that the messages referred to are<br />

saved in a file the name of which is derived from the author of the first<br />

message referred to. The name of the file is the author’s name, stripped of<br />

any network addressing. If the folder variable is set, the file is saved to the<br />

specified directory. The copied messages are not marked as “saved”. If refs<br />

is not specified, the current message is copied.<br />

d[elete] [refs]<br />

Deletes the specified messages from your system mailbox. If refs is not<br />

specified, the current message is deleted. After a delete operation, the<br />

current message is set to the message after the last message deleted.<br />

Deleted messages are not thrown away until you end your session with the<br />

current mailbox (see quit and file). Until then, they can be undeleted (see<br />

undelete).<br />

di[scard] [header...]<br />

Does not display the given header fields when displaying a message. For<br />

example:<br />

discard References<br />

tells mailx not to display the References line at the beginning of any mail<br />

message. These header lines are retained when the message is saved;<br />

they are just not shown when the message is displayed. See also ignore<br />

and retain.<br />

dp [refs]<br />

Deletes the specified messages and then displays the message after the<br />

last message deleted. If there is no subsequent message, mailx displays its<br />

command prompt.<br />

dt [refs]<br />

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

ec[ho] string ...<br />

Echoes the given strings (like the echo subcommand).<br />

mailx<br />

e[dit] [refs]<br />

Lets you edit the messages specified by refs. The messages are stored in a<br />

temporary file and an editor is invoked to let you edit the file. The default<br />

editor is ed, but you can change this using the EDITOR environment<br />

variable.<br />

Chapter 2. Shell command descriptions 377

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

Saved successfully!

Ooh no, something went wrong!