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@li.nux.ro To: "CentOS mailing list" centos@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@rprengel.de To: "CentOS mailing list" centos@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@centos.org https://lists.centos.org/mailman/listinfo/centos