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'
How to check keras version in anaconda
How to check Hadoop version in Ubuntu?
Java 11 String lines function example to split it in lines
Java 11 String lines function example to split it in lines
how to draw lines,circles, rectangles on JSP.
ModuleNotFoundError: No module named 'faiss-centos'
ModuleNotFoundError: No module named 'faiss-centos'
restart elasticsearch service centos
how to draw network(lines and nodes) in java - Applet
ModuleNotFoundError: No module named 'centos_package_cron'
ModuleNotFoundError: No module named 'backend.ai-krunner-centos'
ModuleNotFoundError: No module named 'centos_package_cron'
how to insert check box
How to check if a pid is alive?
how to draw a network with nodes and lines connecting them - Java Beginners
How to check a checkbox - Struts
install tesseract 4 on centos 7
how to access element added via javascript dynamically using jsp code
ModuleNotFoundError: No module named 'via'
how to draw lines,circles, rectangles on JSP (using Java Graphics)
How to display data from database in a TableView via Hibernate
ModuleNotFoundError: No module named 'lines'
How to run external command in Python?
Check TensorFlow version
Check TensorFlow version
Check TensorFlow version
How to check no records - JSP-Servlet
how to check a remote applications validity
How to check whether database exists?
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?
ModuleNotFoundError: No module named 'country-via'
ModuleNotFoundError: No module named 'via-logger'
ModuleNotFoundError: No module named 'via-xterm'
ModuleNotFoundError: No module named 'country-via'
ModuleNotFoundError: No module named 'Flask-Via'
How to check a file exists or not in java.

Ads