Why do we send message over linux console? We can send message using our favorite messenger. That’s right. But, imagine if you are working in a linux machine using a console and want to talk to another user without moving from your console. To do this, you can use a command named write.

Ummm… how if I want to know who’s accessing a linux machine? You can use command who. Ok how to use write command? It’s easy.

write user [ttyname]

Example:

$write dani
Hi.. how u doin?
You need to sign the contract.

You can write your message in the new line. If you want to stop it, you may use Ctrl+C.

What will appear in user dani?

Message from gunawan@linuxmachine on pts/3 at 09:16 ...
Hi.. how u doin?
You need to sign the contract.
EOF

notice that at the end of message you will see EOF.

Related posts:

  1. Who’s Accessing Your Linux Box?
  2. How to Create Environment Variables in Linux
  3. Checking Disk Capacity in Linux

Tags: , ,

One Response to “Send Message Over Linux Console”

  1. Could not find a suitable section so I written here, how to become a moderator for your forum, that need for this?

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>