Send console message to all users and tty | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Send console message to all users and tty

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-09-2008
gfca gfca is offline
Registered User
 
Join Date: Jun 2008
Last Activity: 20 June 2013, 8:17 AM EDT
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send console message to all users and tty

Hi people,

i tried to search in the forum... but didnt found the answer...

Sometimes i need to send a console message to all users in all tty, like reboot or shutdown does...

But i cant find how to do that.

Someone know?

Thanks a lot
Sponsored Links
    #2  
Old 08-09-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 20 October 2014, 11:27 AM EDT
Location: NM
Posts: 10,239
Thanks: 281
Thanked 802 Times in 746 Posts
Try the wall command.
Sponsored Links
    #3  
Old 08-09-2008
gfca gfca is offline
Registered User
 
Join Date: Jun 2008
Last Activity: 20 June 2013, 8:17 AM EDT
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Yes... it worked!

thanks a lot
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to stop the message on the console samnyc UNIX for Dummies Questions & Answers 2 11-17-2009 03:09 PM
WRITE a message in console guruparan18 Shell Programming and Scripting 2 09-01-2008 09:37 AM
Send a massive message to the connected users agasamapetilon UNIX for Dummies Questions & Answers 5 08-30-2008 08:08 AM
console message from Crontab run aixhelp UNIX for Dummies Questions & Answers 1 07-11-2007 10:29 AM
console error message boristhespider UNIX for Dummies Questions & Answers 3 09-03-2001 02:49 PM



All times are GMT -4. The time now is 01:53 PM.