Raspberry Pi Bash Script Tutorial to Update + Upgrade

Start: Raspberry Pi Bash Script Tutorial

If you want to update and upgrade your Raspberry Pi but don’t want to run separate commands (i.e. sudo apt-get update, upgrade) you can simply create a bash script to do it for you.

Then you can copy and paste this into your nano editor. After you paste it hit CTRL-x, type y, then enter.

Then run

Test it by running ./update.sh in the /home/pi directory!

Post any comments or questions below.

For more information you can check out the Raspberry Pi website.

Leave a Reply

Your email address will not be published. Required fields are marked *