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@xxxxxxxxxxx> > To: "CentOS mailing list" <centos@xxxxxxxxxx> > Sent: Wednesday, 22 May, 2019 14:42:53 > Subject: 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@xxxxxxxxxx > https://lists.centos.org/mailman/listinfo/centos _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos