Send content from a file to a single user in Linux?

Source: Internet
Author: User
Keywords Linux Single user
Tags aliyun content create exit file how to html http

Wind Network (ithov.com) original article: How to send a file in the http://www.aliyun.com/zixun/aggregation/9355.html "> information content sent to a user?" What if you have a longer message to send to several users? How do we achieve:

1 create file filename for message text to be sent.

#vi filename

Then enter the information you want to send, save and exit.

2 Enter write username < filename return and create a file containing a short message with the cat command:

% Cat>message hello! Everybody, I ' ll come.
% write Liux<message Write:liux logged in more than once...write to console
%

The user logs in more than one window and the message is displayed in the control window
Message from Liux on TTYP1 at 10:00...hello! Everybody, I ' ll come. EOF

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.