Skip to content

Instantly share code, notes, and snippets.

@Ashrafdev
Last active May 8, 2018 07:21
Show Gist options
  • Save Ashrafdev/8aec7b55a2bd33e21840440637435597 to your computer and use it in GitHub Desktop.
Save Ashrafdev/8aec7b55a2bd33e21840440637435597 to your computer and use it in GitHub Desktop.
Server update & upgrade Ubuntu
#!/bin/sh
sudo apt -y update
sudo apt -y upgrade
sudo apt dist-upgrade
sudo apt -y autoremove
sudo apt -y autoclean
sudo ufw reload
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment