sudo apt list --upgradable | grep -v '^Listing'

Category: VPS Management

sudo apt list --upgradable | grep -v '^Listing'

List upgradable packages without the header

apt list --upgradable prints every package with a newer version available; the grep -v '^Listing' strips the informational first line, leaving clean package:version output. This is the pre-upgrade reconnaissance step. Pipe to wc -l for a simple count of pending updates.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.