0
Thanks

A few words of thanks would be greatly appreciated.

Linux - Command to shut down your PC




Under Linux, there exists a small command that will allow you to automatically shut-down your PC at given time.
  • To implement it simply:
  • Login as root and open a console.
  • Type in the following:
    • shutdown -h +x
    • Where x can be remplaced by the number of minutes.
    • Thus to shut down your PC after 30 minutes, do a:
    • Shutdown -h +30
  • Note that: You can use this command shut down your PC at a given time:
    • shutdown -h 19:30
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Linux - Command to shut down your PC », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!