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.
shutdown -r now "message"
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