Tag Archives: shutdown


automatic shutdown in ubuntu

You shouldn’t waste a lot of system resources by keeping the computer in ‘on mode’ even though you aren’t using it ( Save Energy! ), should you? ( I hope your answer will be NO, ‘ for the sake of Humanity ‘ ). In some cases Auto shutdown command may help you a lot because it will automatically shutdown your computer at specific time (and of course you can use that command to shutdown your computer immediately from the terminal) and you can cancel the command in the mid time (I mean – before the scheduled time) if you want.

I often use this command, later I thought it might help you in saving a lot of valuable computing resources and energy. Since it is some kind of command – so if you think that ‘I may have to mess with Terminal or Linux shell’ then you need to relax! it’s one of the most simple command and you can learn it in few seconds. It doesn’t matter whether you are using Ubuntu 11.04 (Natty Narwhal) or 10.10 (Maverick Meerkat) or 10.04 (Lucid Lynx) or any other Linux based systems such as Linux Mint.


Auto Shutdown Command in Ubuntu 11.04/10.10/10.04

Open Terminal(CTRL+ALT+T). To shutdown the computer at specific Time use (You may have to authenticate yourself by entering your ubuntu login password)  –

sudo shutdown -h HH:MM


sudo shudown -h 1:30

or if you want to shutdown now then just enter zero in place of time

sudo shutdown -h 0

The above method is used when you want to specify absolute time. On the other hand you can also specify relative value of time i.e 3 hours from now, using the following command –

sudo shutdown -h +3:00

That’s All..If you have any problem, then mention it in the comment.