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

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

You might want to increase 1000 if you expect to have more than that number of updates :)

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Nux!" <nux at li.nux.ro>
> To: "CentOS mailing list" <centos at centos.org>
> Sent: Wednesday, 22 May, 2019 15:48:00
> Subject: Re: [CentOS] how to find out the number of updates for a system

> 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