shutdown using init
October 1st, 2006 mysurface Posted in Admin, init | Hits: 13511 | 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







October 15th, 2006 at 6:28 pm
[...] 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’. [...]
February 28th, 2007 at 10:34 pm
[...] Thats why to shutdown my system, I can do [...]