Friday, March 1, 2013

how to send message to all users + HP UX

Hey Friends,

A good command to send message to all users, who are currently logged in on the server is "WALL". we can make use of this command prior to reboot, shutdown, any services which can affect users work. the usage of the same is as below :-

# wall
Admin uSer is working.
.
Broadcast Message from root (pts/0) Fri Mar  1 11:01:23...
Admin user is working.
.
#

root user is sending a message :-


# wall
Hi This is server Admin, we are putting a test message to all users.
.
Broadcast Message from root (pts/0) Fri Mar  1 11:06:47...
Hi This is server Admin, we are putting a test message to all users.
.
#
A user below logged in got a message using WALL command.
$
Broadcast Message from root (pts/0) Fri Mar  1 11:06:47...
Hi This is server Admin, we are putting a test message to all users.
.

$

Love Sharing
Amit Chopra

No comments: