In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to use the mail command in Centos. It is very detailed and has a certain reference value. Friends who are interested must finish it!
Basic syntax of 1.mail
H | headers displays the current mailing list
L | list displays a list of currently supported commands
| help displays the usage of multiple command parameters for viewing mailing lists
D delete the current message, move the pointer down. D 1-100 Delete 1st to 100th messages
T | type | more | p | page num reads an email
N | next | {nothing} read the next email where the current pointer is located. When reading, press the space bar to turn the page, and press enter to move down one line.
N | next | {nothing} num read an email
F | from num view headers
Top displays the header of the message in which the current pointer is located
File | folder displays the entire user's mail storage path and number of messages
Mail letter email editor press the Ctrl+D key or. Key to end the text
Q exit
two。 E-mail storage location:
/ var/spool/mail/username
3. There are three ways to send mail:
1)。 Standard input email content:
Mail-s "title" username@domain.c
Press the Ctrl+D key or. Key to end the text
2)。 Pipeline mode
Echo "mail content" | mail-s "title" username@domain.ccat somefile | mail-s "title" username@domain.c
3)。 File redirection mode
Mail-s "title" username@domain.c < file is all the contents of this article "how to use mail commands in Centos". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.