Skip to content

Instantly share code, notes, and snippets.

@Mausy5043
Last active August 29, 2015 14:09
Show Gist options
  • Save Mausy5043/5f8fa95120669e2bd1f7 to your computer and use it in GitHub Desktop.
Save Mausy5043/5f8fa95120669e2bd1f7 to your computer and use it in GitHub Desktop.
scripted system update for Debian-flavours
#! /bin/sh
sudo apt-get update
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get upgrade
@Mausy5043
Copy link
Author

I run this script on my Debian/Raspbian systems once per week to keep them updated. I do this manually but a crontab -e job could be used just as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment