Get Your Public IP
curl -s canihazip.com
info about owner here.
Let Everyone Execute a Script
chmod +x script.sh
View Permissions on a Script
ls -l script.sh
Edit Cron
crontab -e
Crontab.guru - The cron schedule expression editor
An easy to use editor for crontab schedules.
Run Code in BASH
# Run Code
# If we're on the PiTFT screen (ssh is xterm)
if [ "$TERM" == "linux" ] ; then
while :
do
sleep 10 # Let everything settle
./padd.sh
sleep 1
done
fi
Setup Wifi
wpa_supplicant.conf
country=us
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
scan_ssid=1
ssid="MyNetworkSSID"
psk="Pa55w0rd1234"
}
Find a File
find / -iname "filename"
Copy a Remote File to a Local System using the scp
Command
scp [email protected]:/remote/file.txt /local/directory
Add -r
to make it recursive to the folder.
All the Various Date Formats
Passwordless SSH
Passwordless SSH access - Raspberry Pi Documentation
Need to access a Raspberry Pi, but don’t have a monitor spare? This section provides basic instructions for setting up remote access.

Rmate to edit Raspberry Pi
Editing Raspberry Pi Code Remotely from Visual Studio Code
Use Visual Studio Code across your network to edit files on your Raspberry Pi. By Ladvien.

Visual Studio Code remote file editing on Raspberry Pi
but use sudo pip install rmate
How to test the write speed of SD cards
sudo ./sd_card_speed_test.sh /Volumes/Untitled
biodranik/sd-card-speed-test
Bash script for Mac OS X and Linux to test SD card or SSD/HDD read and write speed. - biodranik/sd-card-speed-test