LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Messages to other users on the same system... (https://www.linuxquestions.org/questions/linux-general-1/messages-to-other-users-on-the-same-system-39287/)

khermans 12-24-2002 10:08 AM

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

SlickWilly 12-24-2002 10:36 AM

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

Slick.

khermans 12-24-2002 11:57 AM

Thanks!!! Your reply was most helpful...

Kris Hermansen

MasterC 12-24-2002 12:35 PM

Yes, thank you Slick! That's good stuff :)


All times are GMT -5. The time now is 05:05 AM.