Get the Ubuntu Update Notification Text After Login

If you run this: You…

Login

Blog History

If you run this:

/usr/lib/update-notifier/update-motd-updates-available

You will get the output regarding available updates in Ubuntu similar to the following

130 packages can be updated.
92 updates are security updates.

Ubuntu Version that I tried this on:

lsb_release -a

#output of lsb_release
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty

0 Comments

Submit a Comment

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.