What does init 0 do in Linux?
Answer
Basically init 0
change the current run level to run level 0
. shutdown -h can run by any user but init 0 can only run by superuser. Essentially the end result is the same but shutdown allows useful options which on a multiuser system creates less enemies
2 members found this post helpful.
Answer
Basically init 0
change the current run level to run level 0
. shutdown -h can run by any user but init 0 can only run by superuser. Essentially the end result is the same but shutdown allows useful options which on a multiuser system creates less enemies
2 members found this post helpful.