Skip to content

Instantly share code, notes, and snippets.

@thijsvos
Last active September 3, 2021 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thijsvos/01b9edd381905f53c270321dedad0cc5 to your computer and use it in GitHub Desktop.
Save thijsvos/01b9edd381905f53c270321dedad0cc5 to your computer and use it in GitHub Desktop.
Ubuntu_Update_Script
#!/usr/bin/env bash
set -e
patching(){
sudo apt update;
sudo apt upgrade;
sudo apt autoremove;
sudo apt autoclean;
sudo snap refresh;
};
patching;
# Usage:
# wget -O - https://gist.githubusercontent.com/thijsvos/01b9edd381905f53c270321dedad0cc5/raw/3043416d412c066bf015ad9470ef9dda9556c27a/install.sh | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment