Raspbery Pi Tips and Tricks
$ sudo reboot -n
$ pinout
(On Raspbery Pi Zero - Hold the Pi with the HDMI Top Left)
ref: https://pimylifeup.com/raspberry-pi-pinout/
Exit out of SSH Session
~.
Run a Python Script Over SSH
ssh pi@192.168.0.IPADDRESS python3 /home/pi/FOLDERNAME/FILENAME.py
- To Copy File to Piscp file1.txt file2.txt pi@192.168.1.xx:folder1/
To Copy All File from a Dir to a Pi
scp -r /Users/name/3 pi@192.168.0.xx:/home/pi/foldername
echo 0 | sudo tee /sys/class/leds/led0/brightness
echo 1 | sudo tee /sys/class/leds/led0/brightness
https://www.dataplicity.com/ - Connect to Raspbery Pi terminal in a webbrowser for free