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

Ads









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?
How to install JDK in Centos?
ModuleNotFoundError: No module named 'linen'
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
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
ModuleNotFoundError: No module named 'centos'
ModuleNotFoundError: No module named 'faiss-centos'
ModuleNotFoundError: No module named 'faiss-centos'
restart elasticsearch service centos
ModuleNotFoundError: No module named 'backend.ai-krunner-centos'
ModuleNotFoundError: No module named 'centos_package_cron'
ModuleNotFoundError: No module named 'centos_package_cron'
how to access element added via javascript dynamically using jsp code
ModuleNotFoundError: No module named 'via'
how to insert check box
How to check if a pid is alive?
How to display data from database in a TableView via Hibernate
ModuleNotFoundError: No module named 'lines'
How to run external command in Python?
install tesseract 4 on centos 7

Ads