shutdown using init

October 1st, 2006 mysurface Posted in Admin, init | Hits: 21239 | 2 Comments »

init are usually use to initialize linux runlevel, but 0 are run level of halt and 6 are run level of reboot.

Therefore to halt the machine, I do this

sudo init 0

I need root privilege to run init.

To reboot,

sudo init 6

2 Responses to “shutdown using init”

  1. […] 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’. […]

  2. […] Thats why to shutdown my system, I can do […]

Leave a Reply