Created
April 26, 2016 06:18
-
-
Save Shellbye/03dc1619cd92db83db865a59317b7a4b to your computer and use it in GitHub Desktop.
Some command to check CentOS version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://forum.directadmin.com/showthread.php?t=15878 | |
cat /etc/*release* | |
cat /etc/centos-release # http://www.liquidweb.com/kb/how-to-check-your-centos-version/ | |
cat /etc/redhat-release | |
# https://linuxconfig.org/how-to-check-centos-version | |
# the later two may need some package to install | |
rpm --query centos-release | |
hostnamectl | |
lsb_release -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment