What is the difference between init 6 and reboot?

What is the difference between init 6 and reboot?
Answer
In Linux, the init 6 command gracefully reboots the system running all the K* shutdown scripts first, before rebooting. The reboot command does a very quick reboot. It doesn’t execute any kill scripts, but just unmounts filesystems and restarts the system. The reboot command is more forceful.
 

Tìm kiếm

Back
Top