I often SSH into my Raspberry Pi, which is connected to my network via a wired connection. The last time I tried to reboot it, though, it failed:
pi@raspberrypi ~ $ shutdown now -bash: /sbin/shutdown: cannot execute binary file
pi@raspberrypi ~ $ sudo shutdown now /sbin/shutdown: 1: /sbin shutdown: Syntax error: word unexpected (expecting ")")
I am currently running Raspbian.
Could the files be corrupted? How can I now safely restart it? Will I just have to power cycle it? Last time I did so, I had to reinstall the OS to get it to start up.
sudo shutdown -h now
to shutdown andsudo shutdown -r 0
to reboot? – askmish Jul 29 '14 at 12:21