Here are a few example of all the ways we can shutdown and reboot on a nix machine.
Power off the Machine Now
Shutdown 10 Minutes From Now
Reboot at 11pm
If you decide you don’t need to shutdown after all you can issue a cancel command like this:
Give a Shutdown Warning Without Actually Shutting Down
Waking your Computer up
David, from crowdway blog, posted a command that tells your computer to wake up 5 minutes from now. To try enter the command and shut your computer down.
Reboot Daily with Cron
Open up cron as root with, ‘sudo crontab -e‘ and add the following line to reboot each night at 11:55pm.
Was this information useful?
Please tell us why you didn't find this useful. Thanks!
Thanks! Your feedback will help NixTutor improve.