Skip to content

davidtressler/pi_tips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

pi_tips

Raspbery Pi Tips and Tricks

REBOOT SYSTEM (WITH NO DELAY)

$ sudo reboot -n

Terminal Pin Out

-
$ 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

SCP

SCP

- To Copy File to Pi
scp 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

Set the Pi Zero ACT LED trigger to 'off'.

echo 0 | sudo tee /sys/class/leds/led0/brightness

Set the Pi Zero ACT LED trigger to 'on'.

 echo 1 | sudo tee /sys/class/leds/led0/brightness

USEFULL LINKS

https://www.dataplicity.com/ - Connect to Raspbery Pi terminal in a webbrowser for free

About

Raspbery Pi Tips and Tricks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages