Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-26-2004, 01:33 PM   #1
Registered: Apr 2003
Location: Vail, CO
Posts: 73

Rep: Reputation: 15
Message users on shell?


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?

Old 04-26-2004, 02:21 PM   #2
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
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'


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display Last Login message for users smile_laguna Linux - Newbie 4 02-28-2004 01:40 AM
broadcast message to all users JustinHoMi Linux - Software 1 11-14-2003 08:34 AM
send message to all users on all terminals mrtwice Linux - Newbie 2 06-26-2003 04:59 PM
login message shell script? jczr2 Linux - Newbie 22 05-28-2003 09:10 PM
remote shell error message slice4e Linux - General 1 05-12-2003 08:55 PM

All times are GMT -5. The time now is 08:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration