Have your RPi email you its IP address on startup
Let’s say you want to remotely connect to your Pi but don’t want to bother hooking it up to a monitor and finding the latest IP address.
This video shows you how to make a script to send you the IP address of your raspberry pi via email automatically.
The link to the written “How to” is here:
https://github.com/STJRush/rpi/blob/master/Startup_IP_Mailer/How%20to%20set%20this%20up.txt
The link to the script is here:
https://raw.githubusercontent.com/STJRush/rpi/master/Startup_IP_Mailer/startup_mailer2.py
Some handy stuff for copypasta:
cd ~/.config/lxsession/LXDE-pi
ip address