You can tell your Linux box to shut down at a certain time of day using and customizing one of the commands below:
shutdown 8:00 -- Shutdown at 8:00 shutdown +13 -- Shutdown after 13 minutes shutdown -r now -- Shutdown and restart shutdown -k +2 -- Display theĀ "The system is going DOWN to maintenance mode in 2 minutes!" message shutdown -h now -- Shutdown and halt shutdown -c -- Cancel ongoing shutdown command
hello,
the commands in the blog are useful to me for automatic shutdown, I want to do some different we want if our system remains idel for 10 minutes then it should automatically shutdown, can we do this if yes, then please tell me the method.
Thank you