Find the answer to your Linux question:
Results 1 to 5 of 5
using Raspberry Pi wheezey... I think this says it all. What am I doing wrong? Code: ~ $ uname -a Linux kevcoder01 3.1.9+ #272 PREEMPT Tue Aug 7 22:51:44 BST ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2012
    Posts
    20

    I can't shutdown


    using Raspberry Pi wheezey...
    I think this says it all. What am I doing wrong?
    Code:
     
    ~ $ uname -a
    Linux kevcoder01 3.1.9+ #272 PREEMPT Tue Aug 7 22:51:44 BST 2012 armv6l GNU/Linux
    
     ~ $ sudo shutdown -Ph -t now
    Usage:      shutdown [-akrhPHfFnc] [-t sec] time [warning message]
              -a:      use /etc/shutdown.allow
              -k:      don't really shutdown, only warn.
              -r:      reboot after shutdown.
              -h:      halt after shutdown.
              -P:      halt action is to turn off power.
              -H:      halt action is to just halt.
              -f:      do a 'fast' reboot (skip fsck).
              -F:      Force fsck on reboot.
              -n:      do not go through "init" but go down real fast.
              -c:      cancel a running shutdown.
              -t secs: delay between warning and kill signal.
              ** the "time" argument is mandatory! (try "now") **

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Either give time in seconds [ -t 10 ] or use "now" without -t option.
    Code:
    sudo shutdown -Ph now
    sudo shutdown -ph -t 10
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    The Raspberry Pi doesn't shut down...
    It has a power cord, but no switch/button.

    According to the RaspBerry website, turning off the computer comprises of unplugging it.


    *EDIT*
    For other Linux machines, it could be:
    Code:
    shutdown -h now
    ...using sudo if needed.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  4. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,296
    Quote Originally Posted by jayd512 View Post
    The Raspberry Pi doesn't shut down...
    It has a power cord, but no switch/button.

    According to the RaspBerry website, turning off the computer comprises of unplugging it.


    *EDIT*
    For other Linux machines, it could be:
    Code:
    shutdown -h now
    ...using sudo if needed.
    I would have thought you should still halt it with the above command, just to ensure that all caches are properly flushed before pulling the plug
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

  5. #5
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Quote Originally Posted by elija View Post
    I would have thought you should still halt it with the above command, just to ensure that all caches are properly flushed before pulling the plug
    Yeah.. very true. I was half asleep when I posted above, so I guess that slipped mind.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Posting Permissions

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