Ubuntu update
• Show security updates only:
apt-get -s dist-upgrade |grep "^Inst" |grep -i securi
or
unattended-upgrade --dry-run -d
or
/usr/lib/update-notifier/apt-check -p
• Show all upgradeable packages
apt-get -s dist-upgrade | grep "^Inst"
• Install security updates only
apt-get -s dist-upgrade | grep "^Inst" | grep -i securi | awk -F " " {'print $2'} | xargs apt-get install
via Ask Ubuntu (http://askubuntu.com/a/217999/154649)
Written by João Lucas Pereira de Santana
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Software
Authors
Chip Castle
1.398K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#