wall [OPTIONS] [<FILE>|<MESSAGE>]
wall "The system will be restarted in 10 minutes."
Broadcast message from root@rumenz (pts/0) (Sat Dec 25 21:11:39 2021):
The system will be restarted in 10 minutes.
wall -n "The system will be restarted in 10 minutes."
The system will be restarted in 10 minutes.
wall
echo "The system will be restarted in 10 minutes. \nPlease save your work." | wall
广播文件中的消息
The system will be restarted in 10 minutes.
wall message1_file.txt
Broadcast message from root@rumenz (pts/0) (Sat Dec 25 21:11:39 2021):
The system will be restarted in 10 minutes.
向群组广播消息
wall -g devs "The system will be restarted in 10 minutes."
还没有评论,来说两句吧...