sudo shutdown -r +5 'Rebooting for kernel update in 5 minutes'
Category: VPS Management
sudo shutdown -r +5 'Rebooting for kernel update in 5 minutes'
Schedule a reboot in 5 minutes with a broadcast message to logged-in users
The +5 means reboot in 5 minutes. The message is broadcast to all logged-in terminal sessions. Gives connected users time to save work.