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

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.

[email protected]:~# shutdown -h 50

Broadcast message from [email protected]
(/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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.