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 myserver.mydomain.com 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)
 

32 Comments:

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...

Thx!

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...

thanks!

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"

Thanks!
Josh

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...

thanks
:)

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...

Danke!

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  

Post a Comment

<< Home