Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to reboot a system notifying other users with a message with shutdown command

sudo shutdown -r +10 "Hardware upgrade"
# The command will shut down the system in 10 minutes from now and notify other
# users that a hardware upgrade will be performed:
 
PREVIOUS NEXT
Tagged: #reboot #system #notifying #users #message #shutdown #command
ADD COMMENT
Topic
Name
6+8 =