Display the Number of Upgradable Packages in Ubuntu (apt)

2021-01-10 16:50 (4 years ago) ytyng

When you SSH login to Ubuntu, you may see the following message:

10 packages can be updated.
5 updates are security updates.

This display.

The mechanism that displays this message uses motd (message of the day).

To get this message via a command, use:

/usr/lib/update-notifier/apt-check --human-readable

Current rating: 1
The author runs the application development company Cyberneura.
We look forward to discussing your development needs.

Comments

Archive

2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011