How to Check Linux OS Version

How to Check Linux OS Version

what-is-inodes-in-linux

How to check Linux OS Version

We are going to discuss about how to check linux os version.Lets see how to check linux os version using command line.

Below is the procedure how to check linux os version is available on your server specially Red Hat.

How to check Linux OS Version on RHEL5
$ uname -a
Linux linsrv01 2.6.18-433.el5 #1 SMP Thu EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.11 (Tikanga)
How to check Linux OS Version on RHEL6
# uname -a
Linux linsrv02 2.6.32-754.3.5.el6.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.10 (Santiago)
How to check Linux OS Version on RHEL7
# uname -a
Linux linsrv03 3.10.0-862.11.6.el7.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)

Related Media

Lets have some bonus to this.How we can check Solaris OS Version.

How to check OS Version on Solaris10 
$ uname -a 
SunOS solsrv01 5.10 Generic_150400-63 sun4u sparc SUNW,SPARC-Enterprise 
$cat /etc/release                    
Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC Copyright (c) 2010, Oracle and/or its 
affiliates. 
All rights reserved.Assembled 11 August 2010

That,s it about How to Check Linux OS Version.Please refer to other linux related blogs if you are interested in reading some high level how to steps.

Raj Rai

Raj Rai is an experienced IT Infrastructure Professional with more than 15 years of experience in IT Infrastructure Management. Raj Raj have keen interest in sharing his real world experience in his spare time as his social responsibility for IT infrastructure field. This is his contribution for IT infrastructure management sector for either newbie or even experienced professionals in unix linux cloud network and storage administration field.

Leave a Reply