
There are a couple of command line 'shortcuts'fraserburnett wrote:Thanks, was referring to the shut down button from the LXDE logout session which I'd assumed was the standard way of fully closing down. However, have now used the LX Terminal comand as you suggested and pleased to say it does reliably close everything down. Thanks everybody for the help
.


With RasPi.TV I am attempting to build up a collection of such basic things in a foolproof, easy to follow manner. Basically I'm blogging about things as I figure out/learn/discover them for myself, trying to make sure the instructions are complete.tomc wrote:So,....what is the correct method to shutdown the RPi?
I am concerned as I've used two images now that end up corrupted after using for several days.
I assumed on the first one that i was not shutting it down properly.
With this second one, I am being most careful to use 'shutdown now'.
Is 'poweroff' a better method?
Is there a document/book that details such basic usage?
thank you,
TomC
For other users, I create a "menu" command. Located in /usr/local/bin is is just a simple shell script:Evilsheep117 wrote:I pulled the plug a few times and i've had to re-image my SD card a few times too![]()
I've been using sudo poweroff without any problemsI just have a small piece of paper with useful commands on it, eventually i'll remember them
Code: Select all
echo
echo Menu of Stuff
echo ==========================================================================
cat <<EOF
Omxplayer .................. omxplayer -o hdmi filename.mp4
Locations of Stuff ......... locations
Turn On VNC server ......... vncserver :1 -geometry 1280x800 -depth 24
Switch to Videos ........... vidoes
Switch to /etc/network ..... networks
Status of Stuff ............ status
Shutdown System ............ sync;halt
EOF
echo