50 likes | 173 Views
UNIX Files & Electronic Mail. What is the behavior of the mail program when invoked with no arguments?. The mail program will read your system mailbox /var/spool/mail/$LOGNAME and prompt you ( & ) to enter mail commands.
E N D
What is the behavior of the mail program when invoked with no arguments? The mail program will read your system mailbox /var/spool/mail/$LOGNAMEand prompt you (&) to enter mail commands
How do you get out of the input mode of mail?How do you get out of mail’s command mode? • Ctrl-D or . gets you out of input mode • x or q will get you out of mail
How do you save mail into, and read mail from, your own personal mbox? • Quitting a mail session with q will save all read messages to a file called mbox • Or, you can save messages to another mailbox using the smailbox command. • mail -f mbox