Monday, February 06, 2006

Checking Redhat version installed

I was looking at how to tell the version of Redhat Linux installed on a machine from a command line. Mostly I used uname -a to view the server settings.
Here is a sample:
$ uname -a
Linux 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:17:59 EDT 2005 i686 i686 i386 GNU/Linux
It return the server kernel's version: 2.4.21-32.ELsmp, but not something my mother could understand.
To get a layman term, we can query file /etc/redhat-release instead.
$ cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 5)


Anonymous Arild said...

Thank you, that was very helpful!

3/02/2006 11:10 PM  
Anonymous Anonymous said...

That was exceedingly helpful.

Don't you hate it when you spend hours trying to figure out something that you know is going to end up painfully simple?!

3/24/2006 8:16 AM  
Anonymous Anonymous said...


8/22/2006 4:37 AM  
Anonymous Anonymous said...

Thank you, that was what I was looking for!

11/10/2006 12:21 AM  
Anonymous Anonymous said...

thank you thank you

1/05/2007 1:50 AM  
Anonymous Anonymous said...

Thank you, from just another idiot!

1/06/2007 8:45 AM  
Anonymous Anonymous said...


3/06/2007 5:30 AM  
Anonymous Anonymous said...

Thank you :)

3/24/2007 5:32 AM  
Anonymous Anonymous said...

thanks, I needed that!

5/01/2007 2:01 AM  
Anonymous Anonymous said...

Perfect, exactly what I was looking for, thank you.

6/26/2007 11:54 AM  
Anonymous hk said...

googling got too many things, got exactly what i was loking for,,, soo simple.. thanks,,

9/13/2007 2:53 AM  
Anonymous Anonymous said...

valuable information thank you somuch

10/10/2007 3:27 PM  
Blogger josh d hayden said...

Very helpful. Your post was first in google with this search: "how do i tell which version of redhat is installed"


3/21/2008 9:09 PM  
Anonymous Anders said...

Brilliant! Thank you!

6/24/2008 2:06 PM  
Anonymous Anonymous said...

Thanks mate!

cat /etc/redhat-release

such a beautiful thing.

7/31/2008 12:57 PM  
Anonymous shashi said...

Thanks. This information is helpful.

2/28/2009 4:48 AM  
Anonymous Anonymous said...

Thanks a lot, short and was very helpful

6/07/2009 10:53 PM  
Blogger sLars said...

Thank you. very helpful

6/10/2009 9:45 PM  
Anonymous Anonymous said...

Thank you very much.

7/01/2009 10:27 PM  
Blogger arkar said...

i have redhat server os ..please help me...

9/22/2009 11:58 PM  
Blogger fuse me said...

Thanks a Lot, that helped

11/16/2009 5:36 PM  
Anonymous Anonymous said...

Very helpful, but why "uname -a" cannot show this in Linux? Why this basic info is not included in its output like in all other UNIX's? Or is it the same as asking why so many simple things are made so compicated?

6/15/2010 9:52 PM  
Anonymous Brave Brave Sir Rodders said...

extremely simple and yet a bugger to find unless someone helpful posts it in a blog ;)

ta very muchly

7/01/2010 3:52 PM  
Anonymous Anonymous said...

Thanks it is helpful

7/29/2010 5:32 PM  
Anonymous Anonymous said...

Yup - really helpful!

8/31/2010 7:07 PM  
Anonymous Anonymous said...


9/28/2010 4:34 PM  
Anonymous Anonymous said...

Thank you, mate! I'm more used to Solaris than RedHat and this has been really helpful.

11/02/2010 10:05 PM  
Anonymous Anonymous said...


7/20/2011 7:19 PM  
Anonymous Anonymous said...

Thanks, but I'm not sure my mother would even know what Redhat is... (she uses Ubuntu lol).

8/26/2011 8:18 AM  
Anonymous Anonymous said...

Thanks - short and concise!

9/08/2011 4:07 AM  
Anonymous Beta said...

I have just installed Redhat, thanks this guide on Redhat Linux.

12/02/2011 9:51 PM  
Blogger Tani said...

wow... simply awesome !! It is truly simple and easy to understand what we are doing. Appreciate the excellent work you have done to make out a simple command and sharing it with others.

sap erp system

5/20/2012 1:04 PM  
Anonymous Alf said...

this is a good info. in fact people like you make the IT enjoyable.

6/29/2012 11:38 PM  
Blogger Emerson Prado said...

Guess what: 7 years later, another newbie learning Red Hat (well, CentOS indeed), and this kept 100% helpful. I was used to Debian's (well, Mint indeed) "inxi", and you saved my day. Thanks!

3/29/2013 4:55 AM  
Blogger Lamington Borivali said...


We have imitated a new trend by starting BlogoMania , where technological enthusiast as well as fresher can connect with us , by sending anything new they read about Linux and send us a details of the extract in their own way with their picture to put them in our website , and we are very happy to start getting some numbers , we will soon put in the details in our website from Sep Mid . if you still missing this space then please send your Unique blog / write-up to us on

Best Blogger will get a LinuxPune T-Shirt and Some very much appreciated entries will get Ubuntu and Fedora CD couriered to their Home .

LinuxPune – Inspired by Open Source Technology
Infrastructure | Outsourcing | Migration Project | Training | Placement

301,Kamala Arcade,Jangali Maharaj Road, Shivaji Nagar, Pune, Maharashtra Opp BalGandharva Rang Mandir+91 808 71 71 71 0 / Ekta -020 41007600 ,

8/23/2013 2:22 AM  
Blogger LinuxPune Deccan said...

Shell Programming for Admin- September 21st – Registration Open – 6000/- 4 Weekend

About Technical Facilitator - Shiva is a Linux Programmer and Trainer along with that he is good in handling Infrastructure Automation 4+ years of exerience in this field.

Details Link :
Register For Demo
Upcoming Batches on September 2013

Shell Programming for System Admin – Starting Sep 21st 4:00-8:00 PM SAT-SUN
VMWare Professional Training for Professional - Starting Sep 28st 4:00-8:00 PM SAT-SUN
ITIL Foundation Training for Desktop Engineer , ITO Professional + Project - Starting Sep 21st Full Day Weekend
IT Security Implementation for Professionals + Project – Discussion in progress for Dates
Perl , PHP , MySQL Programming Training for System Administration + Project - Discussion in progress for Dates

Register For Demo

9/02/2013 1:33 AM  
Anonymous Anonymous said...


I have a query related to the Red hat Linux.

1.In crontab schedule i want to block the access of root user to set the crontab to the other user.(Pop)
2. Pop-- Other user cant set the crontab on yours as well as.

please help me on this query.

2/08/2014 3:54 PM  

Post a Comment

<< Home