commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
If you are on your bed, waching a movie or if you are downloading something, but you whant to sleep. You can use these easy command to power off after X time. The time is in sec. if you whant to wait 1 H, use:
sleep 3600; poweroff
There are 9 alternatives - vote for the best!
wait a hour and 10 seconds to shutdown
You can easily stop shutdowning process by CTRL+C
If you can do better, submit your command here.
You must be signed in to comment.