[CentOS] how to find out the number of updates for a system
Steffen Kröger
steffen.kroeger at ongoingmedia.deWed May 22 14:32:59 UTC 2019
- Previous message: [CentOS] how to find out the number of updates for a system
- Next message: [CentOS] how to find out the number of updates for a system
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [CentOS] how to find out the number of updates for a system
- Next message: [CentOS] how to find out the number of updates for a system
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list