Auto shutdown Linux Command Easy to shutdown and Relax[With Snapshot)

2012-04-06

I am using Linux Machine for day to day use.I need a autoshutdown command in linux which i can use while watching moving and power off my machine automatically after certain interval. Below is the one line command which is very much useful to shutdown Linux machine in certain time interval.

root@user-CR400-CR401:~# shutdown -h 50 Broadcast message from root@user-CR400-CR401 (/dev/pts/0) at 16:19 … The system is going down for halt in 50 minutes!

Where h=halt and no 50 denotes the minutes. If you want to shutdown your machine in two minutes.Just type, shutdown -h 2