Command Lines

Useful commands to use in LXTerminal window.

ls   =  List
cd ****  = Change directory
mkdir ****  = Make directory
rmdir ****  =  Remove directory

rm  ****.***   = Remove file
cp ****.*** ****.***  = Copy file 1 to 2

nano ****.***  =  Create new text file
Sudo python ****.**  =  Run python .py program as Super user

sudo shutdown -h now  =  Shutdown and halt Pi

Leave a comment