O'Reilly logo
  • Gregory Damiani thinks this is interesting:

sudo yum update—security -y

From

Cover of AWS Certified Solutions Architect Official Study Guide

Note

[ec2-user@ip-172-31-3-27 ~]$ sudo yum update-security -y
Loaded plugins: priorities, update-motd, upgrade-helper
No such command: update-security. Please use /usr/bin/yum --help

[ec2-user@ip-172-31-3-27 ~]$ sudo yum update --security -y
Loaded plugins: priorities, update-motd, upgrade-helper
No packages needed for security; 0 packages available
No packages marked for update