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 one of my linux machines, when i give reboot command at the shell command prompt then press enter, i get another command prompt and then the system reboots.


But in one of my office Linux machines, when i give the reboot command, it suddenly reboots without showing another shell command prompt

What could be the reason for this? I need the first behavior to be present in my office machine also. Kindly tell me where i should tweak my office machine.


share|improve this question
Just curious, why do you need this behavior? Also, are the linux distributions different or are they all the same? What flavor of linux are you running? – jmort253 Jan 3 '11 at 12:24
I am also curious why such behavior occurs. I thought if there is some reason, i should find it. – LinuxPenseur Jan 3 '11 at 12:28

I assume your first describes linux box has a timeperiod set to wait before doing the actual reboot. To get to now more about the shutdown/reboot process in your linux distro, take a look at man shutdown. It will explain, where the configuration is placed.

In my distribution, SUSE, these are some files which are part of the shutdown process:

  • /etc/inittab
  • /etc/init.d/halt
  • /etc/init.d/reboot
share|improve this answer
+1 Correct and consider that the reboot command will normally call a shutdown -r, that will send a SIGTERM to all the processes. This will give a bit of time to exit cleanly (and here the behavior you experience at home). – tmow Jan 3 '11 at 12:59

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.