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
jonahoffline
4.207K
Chip Castle
1.407K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#