Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.


This seems to be true for Unix systems as Solaris, but I have always seen the following 3 commands as synonyms, as they all seem to shut down the services before unmounting the filesystems and restart the server:

shutdown -r now
init 6

Can somebody tell the differences between these commands?

share|improve this question
up vote 5 down vote accepted

There is no difference in them. Internally they do exactly the same thing:

 1. reboot uses the shutdown command (with the -r switch). The shutdown command used to 
    kill all the running processes, unmount all the file systems and finally tells the
    kernel to issue the ACPI power command.

 2.init 6 tells the init process to shutdown all of the spawned processes/daemons as
   written in the init files (in the inverse order they started) and lastly invoke the 
   shutdown -r now command to reboot the machine
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.