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