[CentOS] how to find out the number of updates for a system

Wed May 22 14:48:00 UTC 2019
Nux! <nux at li.nux.ro>

yum check-updates 2>/dev/null|grep -A1000 "^$"|grep -vc "^$"

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Ralf Prengel" <ralf.prengel at rprengel.de>
> To: "CentOS mailing list" <centos at centos.org>
> Sent: Wednesday, 22 May, 2019 14:42:53
> Subject: [CentOS] how to find out the number of updates for a system

> Hallo,
> I need the information how many updates are available for a system.
> What is the best way to find it out in a one line bash script.
> 
> Von meinem iPad gesendet
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos