raspberry pi run at startup code example Example: run on startup pi sudo nano /etc/rc.local Then add commands and do CTRL+X and press y to save