Skip to content

Instantly share code, notes, and snippets.

@rezamt
Created June 6, 2019 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rezamt/6121eab6dd901993d9ad28363694cdd1 to your computer and use it in GitHub Desktop.
Save rezamt/6121eab6dd901993d9ad28363694cdd1 to your computer and use it in GitHub Desktop.
Yum Repo Update
# Getting list of available updates
yum updateinfo list
# Only security patches
yum updateinfo list security all
# Update only security patches
yum -y update --security
# Update for sepcific CVE
yum update --cve CVE-2008-0947
# Getting list of ciritical updates
yum info-sec|grep 'Critical:'
# References:
# https://access.redhat.com/solutions/10021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment