Re: diferences between halt, reboot or shutdown -r now

From: Eric de Redelijkheid (ericdere_at_xs4all.nl)
Date: 03/13/04


Date: Sat, 13 Mar 2004 22:48:42 +0100

Your message lacks substance, however to answer the question I think you
were going to ask:

halt = shutdown -h now; the system halts to SRM prompt
reboot = shutdown -r now; the system reboots

To reboot or halt properly using the scripts in /sbin/init.d you would
have to use the command shutdown -sh now or shutdown -sr now. This would
only work with Tru64 UNIX 5.x In Tru64 UNIX 4.x to invoke those scripts,
you would first have to bring the system to single user mode with
shutdown now and then halt or reboot.

TruCluster has an extra flag to halt the entire cluster: shutdown -csh now.



Relevant Pages

  • Re: Addition to reboot(8): reboot / halt reasons
    ... > Yes, you are missing something. ... reboot and halt are BSD commands, shutdown SYSV-ish. ...
    (freebsd-hackers)
  • Re: official way to halt linux?
    ... don't really shutdown, only warn. ... halt action is to turn off power. ... do a 'fast' reboot. ... -F: Force fsck on reboot. ...
    (comp.os.linux.misc)
  • RC?.D boot order
    ... on Solaris 9. ... differences between reboot, shutdown, halt, init 6, etc. ...
    (comp.unix.solaris)
  • Re: [OT] How to kill X Server
    ... You can use the exit or quit option from WindowMaker's menu too. ... been ages since I last used WindowMaker so I can't remember whether the ... hence I want the shutdown to happen programmatically. ... I've suid'd "halt" so anyone can use it. ...
    (uk.comp.sys.mac)
  • RPC
    ... Then type: shutdown -a ... This should halt the reboot ... >restarting your computer? ...
    (microsoft.public.windowsxp.security_admin)