Installing just security updates with yum

Install just the security patches, but not kernel or java patches

 

yum update –security –exclude=kernel* –exclude=java*