Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the write command of linux to send information

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the use of linux write command to send information, the article is very detailed, has a certain reference value, interested friends must read it!

The write command is used to send information to the specified logged-in user terminal. Through the write command, you can transmit information to another user who logs in to the system. When the input is finished, type EOF to indicate that the information is over, and the write command will send the information to the other party. If the user who receives the message logs in to the local host more than once, you can specify the terminal number on which the message is received.

Syntax format: write [parameters]

Common parameters:

The user specifies the login terminal of the login user to receive the information.

Reference example

Send a message to Rollaend:

[root@linuxcool ~] # write Rollaend

The connection that sends information to Rollaend and Rollaend is pts/2:

[root@linuxcool ~] # write Rollaend pts/2 above are all the contents of the message sent using the write command of linux. 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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report