Categories
systems

Centos

# what version am I running?
cat /etc/system-release

# is selinux enabled?
getenforce

# put selinux into permissive mode
setenforce 0
Categories
systems

Yum

# list installed packages
yum list installed

# list package updates
yum check-update

# list package updates (security only)
yum check-update --security

# apply updates
yum update

# apply security updates
yum update --security

# get info about a package
yum info python3