Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-24-2002, 10:08 AM   #1
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Rep: Reputation: 30
Messages to other users on the same system...

Isn't there a way to send a message to other users logged into the same linux system? I do the who command and there are about ten people logged in, but I want to send a message to one of them and I don't know the command. Is there another command to send a message to everyone on the system?

Kris Hermansen
Old 12-24-2002, 10:36 AM   #2
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Depending on what you want to do, and how interactive you want it you can use :

wall -- send a message to everybody's terminal.
talk - talk to another user
write - send a message to another user

You can also use tricks like, for instance, looking up someone's tty interface then

echo "Hey joe, wanna go for lunch" >/dev/tty19

which is completely uninteractive, but great for chatting up the girl infront of you and not getting caught. :P


Last edited by SlickWilly; 12-24-2002 at 10:38 AM.
Old 12-24-2002, 11:57 AM   #3
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Original Poster
Rep: Reputation: 30
Thanks!!! Your reply was most helpful...

Kris Hermansen
Old 12-24-2002, 12:35 PM   #4
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Yes, thank you Slick! That's good stuff


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to sort regular users and system users from /etc/passwd joeyBig Red Hat 9 05-29-2008 12:59 AM
interpreting system messages corbis_demon Linux - Newbie 1 10-29-2004 12:54 PM
C program to send messages between two users joe164 Programming 2 10-21-2003 05:52 AM
system messages juno Linux - General 1 12-16-2002 04:56 AM
Enable Private Messages for free users rverlander LQ Suggestions & Feedback 6 06-02-2002 05:34 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration