apt-get update script for Ubuntu

Published by Franklin on

  1. Intro
  2. Howto
  3. Related stuff

Intro

Save this update script in your homedir to easily maintain and cleanup your Ubuntu packages using apt-get. The process is wrapped in a screen session so it continues and can still be accessed when your connection is dropped.

Howto

Edit ~/bin/update

Usage: update or update -y to skip all prompts.

Changelog
2016-01-27 – Wrap process in screen session
2014-10-07 – Added &&’s to only continue if the previous command succeeded

Categories: Code

Leave a Reply

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