What is "mail", and how is it navigated?
The program lies in
/usr/bin/mail. Upon implementation,
Version 8.1.2 01/15/2001 is revealed.
Commands are: next, alias, print, type, Type, Print, visual, top, touch, preserve, delete, dp, dt, undelete, unset, mail, mbox, pipe, |, more, page, More, Page, unread, Unread, !, copy, chdir, cd, save, source, set, shell, version, group, write, from, file, folder, folders, ?, z, headers, help, =, Reply, Respond, reply, respond, edit, echo, quit, list, xit, exit, size, hold, if, else, endif, alternates, ignore, discard, retain, saveignore, savediscard, saveretain, core, #, inc, new
Mail Command Description ------------------------- -------------------------------------------- t [message list] type message(s). n goto and type next message. e [message list] edit message(s). f [message list] give head lines of messages. d [message list] delete message(s). s [message list] <file> append message(s) to file. u [message list] undelete message(s). R [message list] reply to message sender(s). r [message list] reply to message sender(s) and all recipients. p [message list] print message list. pre [message list] make messages go back to /var/mail. m <recipient list> mail to specific recipient(s). q quit, saving unresolved messages in mbox. x quit, do not remove system mailbox. h print out active message headers. ! shell escape. | [msglist] command pipe message(s) to shell command. pi [msglist] command pipe message(s) to shell command. cd [directory] chdir to directory or home if none given fi <file> switch to file (%=system inbox, %user=user's system inbox). + searches in your folder directory for the file. set variable[=value] set Mail variable.
z reveals completion of the checklist of messages - yet that command is absent in the
? aid web page.
- What program is this?
- Exist tutorials for its usage?
- What are some usual commands and also handy methods for its usage?
- Just how can the message checklist be browsed (the reverse of
z) or rejuvenated?
Explanation : This inquiry has to do with the interactive program and also not the manuscript - able command - i.e. the outcome of keying
This page defines the interactive command carefully, and also remains in reality a rather detailed tutorial. Defines commands such as
z and also
If there is more than a screenful of messages, then z will show the next screenful, and z- will show the previous screenful.
As its hand-operated states, mail is:
mail is a smart mail handling system which has a command syntax evocative ed (1) with lines changed by messages.
That is to claim, you can consider it as a fast means to execute some jobs connected to the mails you receive in the web server you are working with.
The power of mail can be recognized when creating shell manuscripts or cron work as an example.
To discover it much better, I've located some write-ups concerning mail command:
Another inquiry made on this website manages the very same concern: