Send message to another user in linux

. . . .
.

1. Check the status
  • mesg
  • who -T
2. Open the message
  • mesg y
3. Write a message
  • write [user]
發送測試訊息
[email protected]:~/$ who -T
user_a   + tty1         2020-04-13 19:00
user     - tty7         2020-04-13 19:00 (:0)
[email protected]:~/$ mesg
is n
[email protected]:~/$ mesg y
is y
[email protected]:~/$  write user_a
Hello, World.
# CTRL+C leave
To all online user
[email protected]:~/$  wall "Hello, World."
[email protected]:~/$  wall
Hello, World.
# CTRL+D send message.


Tags: Linux



COMMENTS
Login to continue.
User
img4me.com/