I need to give a notification about shutdown. A single machine is used by three people, so if i need to shutdown after 10 mins, how to send message to those about shutting down???????
Just use the below step.
# shutdown -h 10 "System will be shutdown in 10 minutes, make arrangements"
It will broadcast this message to all the logged in Users.