Wall
lastmod 2025-12-04created 2021-10-252 edits
The wall command sends the same message to all users logged in to my system.
Example
When the message is a single line
[root@localhost /]# wall Hi nice to meet you
[root@localhost /]#
Broadcast message from root (pts/0) (Fri Jan 21 15:38:09 2005):
Hi nice to meet you
When sending a message of two or more lines
[root@localhost /]# wall
Hi !! ^^
Nice to meet you..
Have nice day.. ^^ <- 메시지를 보낼때 ctrl+d 입력
[root@localhost /]#
Broadcast message from root (pts/0) (Fri Jan 21 15:39:12 2005):
Hi !! ^^
Nice to meet you..
Have nice day.. ^^
Sending with the echo command
[root@localhost /]# who
root pts/0 Jan 21 15:05 (help.freeb.net)
root pts/1 Jan 21 15:21 (help.freeb.net)
test pts/2 Jan 21 15:22 (help.freeb.net)
jook pts/3 Jan 21 15:22 (help.freeb.net)
To send a message to the user jook logged in on pts/3, enter the following.