1 2 3 4 5 6 7 8
#!/bin/bash set -ex sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y --purge autoremove sudo apt-get clean