shutdown -r +5 'rebooting for maintenance'

Category: Administration

shutdown -r +5 'rebooting for maintenance'

Reboot in five minutes with a message

Schedules a reboot five minutes from now and broadcasts the message to all logged-in users. The delay gives users time to save work, and the message explains why. Use shutdown -c to cancel, or schedule a different delay with another shutdown command.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.