LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Message users on shell? (http://www.linuxquestions.org/questions/linux-software-2/message-users-on-shell-174766/)

MarleyGPN 04-26-2004 01:33 PM

Message users on shell?
 
Hi,

Ive been trying to figure out how to message users on the Linux shell.
There is a program I was playing with called talk but I cant get it to work.
Is there any way to message another user logged onto that machine?


Thanks,
Marleygpn

bulliver 04-26-2004 02:21 PM

You can do it manually. Check 'ps ax' to see which tty the user in question is logged into then type:

echo "Your message here" > /dev/ttyN

Where N is the tty number.

You can also use the 'write' program: check out 'man write'


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