Linux Mail command usage

Source: Internet
Author: User

All emails received by the system are saved in the "/var/spool/mail/[Linux User Name]" file.
In Linux, enter mail to go To the inbox and display the list of 20 emails.
The command prompt is "&"

Unread mark as unread mail
H | headers: displays the current mail list
L | List displays the list of currently supported commands
? | HELP command parameter usage for displaying multiple mail lists
D. Delete the current email, and move the pointer down. D 1-100 Delete 1st to 100 emails
F | from only displays the simple information of the current email. F num: displays the simple information of an email.
F | from num pointer to an email
Z displays the last 20 emails in the inbox.
More | p | when reading the email content of the current pointer on the page, press the Space key to flip the page, and press the Enter key to move down a row
T | type | more | p | PAGE num read an email
N | next | {do not fill in anything} read the content of the next email containing the current pointer. When reading, press the Space key to flip the page, and press the Enter key to move down a line.
V | visual current mail enters the plain text editing mode
N | next | {do not fill in anything} num reads an email
Top displays the mail header of the email with the current pointer
File | Folder: displays the file of the system email and the total number of emails.
Exit the MAIL command platform and do not save the previous operations, such as deleting emails.
Q: log out of the mail command platform and save the previous operations. For example, if you delete an email that has been deleted by D, the read email will be transferred to the mbox file in the current user's home directory. If you delete a file in mbox, it will be permanently deleted. Java-Javascript

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.