- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: message to all users logged in
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 07:58 PM
08-08-2004 07:58 PM
how to send a short message to all users which are logged in to a workstation before maintenance shutdown?
Thanks and best regards,
oliver
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 08:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 08:03 PM
08-08-2004 08:03 PM
Re: message to all users logged in
If you need to issue a general message to all the users logged on the server then issue the command wall
wall
â message textâ followed by CTRL/D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 08:05 PM
08-08-2004 08:05 PM
Re: message to all users logged in
Create a message with vi and save it,
# wall < message
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 08:06 PM
08-08-2004 08:06 PM
Re: message to all users logged in
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 08:30 PM
08-08-2004 08:30 PM
Re: message to all users logged in
wall file_name
where file_name contains the short message.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 08:39 PM
08-08-2004 08:39 PM
Re: message to all users logged in
#wall
ctrl+d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 08:50 PM
08-08-2004 08:50 PM
Re: message to all users logged in
B U T . . .
All users (and applications) can disable the reception of the messages sent with 'wall' with
# mesg n
mesg without argument gives you the current state, also in it's return value
Hope this helps (a bit).
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 08:54 PM
08-08-2004 08:54 PM
Re: message to all users logged in
Regards,
Ira
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 12:45 AM
08-09-2004 12:45 AM
Re: message to all users logged in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 12:53 AM
08-09-2004 12:53 AM
Re: message to all users logged in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 01:09 AM
08-09-2004 01:09 AM
Re: message to all users logged in
wall reaches those already logged in.
/etc/motd will reach those logging in after the fact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 10:22 PM
08-09-2004 10:22 PM
Re: message to all users logged in
You can do it on a funny way,
# who
user1 ttyp1 Jul 29 08:36
user2 ttyp2 Aug 10 07:55
user3 ttyp5 Aug 10 12:11
cat message_file > /dev/ttyp1
..
cat message_file > /dev/ttyp1
OR
for i in `who | awk '{print $2}'
do
cat message_file > /dev/${i}
done
rgrds Theo