How to check CentOS version via command line?

How to check CentOS version via command line?

Hi,

I have a linux machine and i don't know the version of the CentOS operating system installed on it.

I can login to the console using ssh and want to know the version of CentOS system installed on it.

How to check CentOS version via command line?

Thanks

View Answers

March 17, 2018 at 11:35 PM

Hi,

CentOS is popular Linux server and desktop operating system. You can find the CentOS version installed with the help of following command:

cat /etc/redhat-release

or

cat /etc/*elease

and then it will show you the details.

Thanks









Related Tutorials/Questions & Answers:
How to check CentOS version via command line?
check CentOS version via command line
Advertisements
check CentOS version via command line
How do I install a .deb file via the command line?
ModuleNotFoundError: No module named 'linen'
How to install JDK in Centos?
How to Check Markup in PHP File from Command Line
How to check if ZooKeeper is running or up from command prompt
how to check gremlin version
How to check spark version
How to check spark version
in unix which command is used to sort the lines of data in a file in reverse order
ModuleNotFoundError: No module named 'centos'
Java 11 String lines function example to split it in lines
Java 11 String lines function example to split it in lines
How to check keras version in anaconda
How to check Hadoop version in Ubuntu?
ModuleNotFoundError: No module named 'faiss-centos'
ModuleNotFoundError: No module named 'faiss-centos'
how to draw lines,circles, rectangles on JSP.
restart elasticsearch service centos
ModuleNotFoundError: No module named 'centos_package_cron'
ModuleNotFoundError: No module named 'backend.ai-krunner-centos'
ModuleNotFoundError: No module named 'centos_package_cron'
how to draw network(lines and nodes) in java - Applet
install tesseract 4 on centos 7
ModuleNotFoundError: No module named 'via'
how to draw a network with nodes and lines connecting them - Java Beginners
how to insert check box
How to check if a pid is alive?
ModuleNotFoundError: No module named 'lines'
how to access element added via javascript dynamically using jsp code
How to check a checkbox - Struts
how to draw lines,circles, rectangles on JSP (using Java Graphics)
How to display data from database in a TableView via Hibernate
Check TensorFlow version
Check TensorFlow version
Check TensorFlow version
How to run external command in Python?
ModuleNotFoundError: No module named 'country-via'
ModuleNotFoundError: No module named 'via-logger'
ModuleNotFoundError: No module named 'Flask-Via'
ModuleNotFoundError: No module named 'via-xterm'
ModuleNotFoundError: No module named 'country-via'
how to design a jsp page via link which will expire after 3 days if not use?
how to design a jsp page via link which will expire after 3 days if not use?
com.networknt - tram-command version 1.6.0 Maven dependency. How to use tram-command version 1.6.0 in pom.xml?
com.networknt - tram-command version 1.5.16 Maven dependency. How to use tram-command version 1.5.16 in pom.xml?
ModuleNotFoundError: No module named 'lines-overlap-s528358'
ModuleNotFoundError: No module named 'method-lines'

Ads