1822512 Members
2437 Online
109642 Solutions
New Discussion юеВ

message

 
SOLVED
Go to solution
Jeff Hagstrom
Regular Advisor

message

Is there a way to message some thing to a specific TTY? Unlike wall which hits everyone, I only want to hit an individual.
4 REPLIES 4
Sachin Patel
Honored Contributor

Re: message

Hi
By using "write" you can write message to another user.
By using "rwall" you can write to specified remote machine.
By using "talk" you can chat with another system.

Sachin
Is photography a hobby or another way to spend $
Sanjay_6
Honored Contributor

Re: message

IF u just want to dump something on the tty you can use cat with a redirector > tty_number
MANOJ SRIVASTAVA
Honored Contributor

Re: message

Hi Jeff


Here you go http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xa5acee3e323bd5118fef0090279cd0f9,00.html

also cat > /dev/ttyXpY and then the meesage will also do. You need to send the o/p by pressing cntrl D

Manoj Srivastava
Satish Y
Trusted Contributor
Solution

Re: message

# write

if user's tty have write permission for u, then
for ex. to send message to /dev/ttyp4
# echo "my message" > /dev/ttyp4

Cheers...
Satish.
Difference between good and the best is only a little effort