LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 15
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
 
Old 04-26-2004, 02:21 PM   #2
bulliver
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'
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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