how to gives message in shutdown command

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???????

Tags: Linux shutdown command
user image Author :   noah

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.

user image
jagannatharumugam May 19, 2017
Add comment