write
Linux Commands - Manage Users and Groups

write

If you wanted to communicate with a specific user while they were on the system you could use the write command.


write username --> hit enter

message --> hit enter for new line

Ctrl_D


Example:


write fred

Be sure to log out when you are done!

Ctrl_D


fred will receive the message in this form:


Message from root@top on pts/0 at 18:29

Be sure to log out when you are done!

EOF