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)
 

19 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  

Post a Comment

<< Home