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

Wed May 22 14:32:59 UTC 2019
Steffen Kröger <steffen.kroeger at ongoingmedia.de>

Hey Mark,

one quick and dirty possibility:

a=`yum check-updates | awk '{ print $2 }' |grep -v ":" |grep -v mirror |wc
-l` ; echo $(($a - 1))


Best regards

Steffen