Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Some command to check CentOS version
cat /etc/*release*
cat /etc/centos-release #
cat /etc/redhat-release
# the later two may need some package to install
rpm --query centos-release
lsb_release -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment