What is the difference between init 0 and shutdown?

What is the difference between init 0 and shutdown?
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.
 

Tìm kiếm

Back
Top