03-21-2006
here
I'm not sure what do you mean by "message" and how the users are connected. In a case they simply have terminal sessions open you can use command "wall".
like that:
wall "Hey I'm taking this machine into maintenance in 5 min, Joe call me 22222"
,
samba is something completely different.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello: How would you send message to other unix users logged in into the system now.. what should i verify, before sending them a mail across that displays mesage on the terminal. Any man pages? Thanks, ST2000 (2 Replies)
Discussion started by: ST2000
2 Replies
2. Shell Programming and Scripting
Hai..I have one question in unix Shell script.Following is the script
System Configuration: lcpu=4 mem=8192MB
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy ... (1 Reply)
Discussion started by: sollin
1 Replies
3. Shell Programming and Scripting
Hi All,
I want to send a message through email to 5 people in unix script. Please let me know, how to do it.Please do reply it is urgent.How to do it?Please reply.thanks!
Thanks,
Mary. (2 Replies)
Discussion started by: MARY76
2 Replies
4. UNIX for Advanced & Expert Users
Hi All,
I want to send a message through email to 5 people in unix script. Please let me know, how to do it.Please do reply it is urgent.
Thanks,
Mary. (3 Replies)
Discussion started by: MARY76
3 Replies
5. UNIX for Advanced & Expert Users
How to send a message to another unix terminal along with the date specified (4 Replies)
Discussion started by: aajan
4 Replies
6. UNIX for Dummies Questions & Answers
I am analyzing snoop output and want to send "Hello world" to a remote system. I want to see if the message received is encrypted or not.
can I use ping to send a text message?
like ping "helloworld" <IP Addr>
Please help.
Thank you (5 Replies)
Discussion started by: rakeshou
5 Replies
7. UNIX for Dummies Questions & Answers
Hi Buddies,
I have a unix client and want to send a message (containg some data) to a windows Database server to query from it and return the result.
I shall be so thankfull if you help me out.:b::)
Warm Regards,
Jessi (1 Reply)
Discussion started by: jessica-adams
1 Replies
8. Post Here to Contact Site Administrators and Moderators
To be able to send PMs your post count must be 10 or greater.
You currently have 16 posts. If you have a question for the forum moderators and/or administrators, please post your question here.
...you might want to try searching the forums:
What am I doing wrong? (3 Replies)
Discussion started by: -=XrAy=-
3 Replies
9. AIX
Hi,
I want to send SMS from my AIX unix server. Could you please help me?
US Service provider: AT & T
I tried the below command but message not received.
echo "test msg" | /usr/bin/sendmail -v <mobilenumber>@mobile.att.net (4 Replies)
Discussion started by: rsivasan
4 Replies
10. AIX
hello friends I need to send a text message MSM by AIX with a function called CURL you have some example of how it is done so that you can help me please (4 Replies)
Discussion started by: tricampeon81
4 Replies
LEARN ABOUT CENTOS
shutdown
SHUTDOWN(8) shutdown SHUTDOWN(8)
NAME
shutdown - Halt, power-off or reboot the machine
SYNOPSIS
shutdown [OPTIONS...] [TIME] [WALL...]
DESCRIPTION
shutdown may be used to halt, power-off or reboot the machine.
The first argument may be a time string (which is usually "now"). Optionally, this may be followed by a wall message to be sent to all
logged-in users before going down.
The time string may either be in the format "hh:mm" for hour/minutes specifying the time to execute the shutdown at, specified in 24h clock
format. Alternatively it may be in the syntax "+m" referring to the specified number of minutes m from now. "now" is an alias for "+0",
i.e. for triggering an immediate shutdown. If no time argument is specified, "+1" is implied.
Note that to specify a wall message you must specify a time argument, too.
If the time argument is used, 5 minutes before the system goes down the /run/nologin file is created to ensure that further logins shall
not be allowed.
OPTIONS
The following options are understood:
--help
Prints a short help text and exits.
-H, --halt
Halt the machine.
-P, --poweroff
Power-off the machine (the default).
-r, --reboot
Reboot the machine.
-h
Equivalent to --poweroff, unless --halt is specified.
-k
Do not halt, power-off, reboot, just write wall message.
--no-wall
Do not send wall message before halt, power-off, reboot.
-c
Cancel a pending shutdown. This may be used cancel the effect of an invocation of shutdown with a time argument that is not "+0" or
"now".
EXIT STATUS
On success, 0 is returned, a non-zero failure code otherwise.
SEE ALSO
systemd(1), systemctl(1), halt(8), wall(1)
systemd 208 SHUTDOWN(8)