Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I have written a script that should restart certain processes after a reboot is done but I have noticed that sometimes it doesn't work. Is there a difference in ...
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    1

    Shutdown & Reboot

    Hi I have written a script that should restart certain processes after a reboot is done but I have noticed that sometimes it doesn't work.

    Is there a difference in running:

    /sbin/ shutdown -r now
    or
    reboot

    Do these two commands do the same thing? If my script is correct should both of these commands start up the required processes?

    Thanks
    - James

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Take a look at this page for some info on how shutdown works:

    http://aplawrence.com/Linux/halt_shutdown_reboot.html

    ...also check the man pages for command details:

    Code:
    man reboot
    man shutdown
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...