Automatic shutdown in Linux

By | November 6, 2008

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

One thought on “Automatic shutdown in Linux

  1. satish

    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

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *