How to check CentOS version via command line?

Ads
 

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 check gremlin version
How to check spark version
How to check spark version
How to check keras version in anaconda
How to install JDK in Centos?
How to check Hadoop version in Ubuntu?
How to Check Markup in PHP File from Command Line
How to check if ZooKeeper is running or up from command prompt
ModuleNotFoundError: No module named 'linen'
in unix which command is used to sort the lines of data in a file in reverse order
Java 11 String lines function example to split it in lines
Java 11 String lines function example to split it in lines
Check TensorFlow version
Check TensorFlow version
Check TensorFlow version
ModuleNotFoundError: No module named 'centos'
how to insert check box
How to check if a pid is alive?
ModuleNotFoundError: No module named 'check-version'
ModuleNotFoundError: No module named 'faiss-centos'
ModuleNotFoundError: No module named 'faiss-centos'
restart elasticsearch service centos
how to access element added via javascript dynamically using jsp code
How to run external command in Python?
How to display data from database in a TableView via Hibernate
ModuleNotFoundError: No module named 'backend.ai-krunner-centos'
ModuleNotFoundError: No module named 'centos_package_cron'

Ads