Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'The write command exists for that purpose' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
The write command exists for that purpose
Authored by: Stereo on Nov 27, '03 10:30:07PM
You can only write to another user's tty if you're root. The write command lets you send messages from one normal user to the other. e.g.

Ketchup:~ vincent$ write jules
And you know what they call a... a... a Quarter Pounder with Cheese in Paris?
^D
Don' forget the Control-d at the end. Piping the message to write or following the command with the message in double quotes works too. This will produce that on Vincent's most recently used terminal:

Message from vincent@Ketchup.local on ttyp5 at 03:17 ...
And you know what they call a... a... a Quarter Pounder with Cheese in Paris?
EOF
where EOF stands for end of file.

[ Reply to This | # ]