Shutdown/Reboot using ’shutdown’
October 15th, 2006 liewsheng Posted in Admin, shutdown | Hits: 7651 |
It have a lot of way to shutdown/reboot your machine, the easier way is using shutdown button in gnome or KDE menu ;p The another way is using ‘init’ which already intro in Shutdown Using ‘init’. Now I will intro a another command - ’shutdown’.
’shutdown’ have more option than init, you can specific how long you want to wait or the time you want to shutdown/reboot your machine.
To showndown your machine:
shutdown -h now "message"
this will shutdown after you have issues the command. The message can be any message you want send when shutdown/reboot. If you want specific a time, using:
shutdown -h hh:mm "message"
where hh is the hours and mm is the minutes you want shutdown.
To reboot:
shutdown -r now "message"
or
shutdown -r hh:mm "message"
You can also specify the relative time to perform the ’shutdown’ command. For example, if you want shutdown the pc after 10 min:
shutdown -r +10 "message"
so what you think about the ’shutdown’, Is it easy or powerful? I hope you all will enjoy using this command ;p
Live Chat!









September 12th, 2007 at 11:43 pm
Easy and powerful, especially when it is used with “crontab”
Thanks for the example
September 25th, 2007 at 2:13 am
[...] For more detail examples of shutdown, continue to read here. [...]