# w
This command is used to show who is logged on and what they are doing. The output of the above command is usually like below(Click to see the image clearly):
To send message to a specific user:
$ write username tty
Example, to send message to user user1:
$ write user1 pts/3
Write you messages, and then press Ctrl-d to exit 'write'
To send message to all connected user, use wall command:
$ wall
Type your message and Ctrl-d to exit 'wall'
No comments:
Post a Comment