LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-05-2010, 12:07 AM   #1
bharatlalgupta
Member
 
Registered: Aug 2008
Posts: 80
Blog Entries: 1

Rep: Reputation: 16
Question how to examin a linux version


hello friends
i'm using redhat 5.
but how to find out this is redhat 5.0 or 5.1 or 5.3 or 5.4
tell me plz
 
Old 01-05-2010, 12:14 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You can use either:
Code:
cat /etc/redhat-release
or for more info:
Code:
lsb_release -a
Regards
 
Old 01-05-2010, 12:18 AM   #3
bharatlalgupta
Member
 
Registered: Aug 2008
Posts: 80

Original Poster
Blog Entries: 1

Rep: Reputation: 16
Wink i got this message

Quote:
Originally Posted by bathory View Post
Hi,

You can use either:
Code:
cat /etc/redhat-release
or for more info:
Code:
lsb_release -a
Regards
hello bathory thanx for reply

i got these message
[root@bharat ~]# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5 (Tikanga)
Release: 5
Codename: Tikanga


that mean i'm using only 5.0 is correct right now
 
Old 01-05-2010, 12:32 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
That's right, you're using RHEL 5.0, unless /etc/redhat-released was changed somehow. Take a look also at /etc/issue or /etc/issue.net, if you suspect this is not the correct version.

Cheers
 
1 members found this post helpful.
Old 01-05-2010, 04:04 AM   #5
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
If you want to update your RHEL to newer versions, but not to pay for it, please look at CentOS .
 
  


Reply

Tags
how, version



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to examin which process is zombie..... bharatlalgupta Red Hat 1 12-15-2009 01:01 AM
[SOLVED] MinGW - performance is degarding from linux version to win32 version manu-tm Programming 5 07-20-2009 09:17 AM
Default socket name and version in Redhat linux with kernal version 2.4-20-8??? sivareddy_jntu Linux - Networking 1 06-12-2009 02:43 PM
who knows the kernel version of each version of linux iamthewind Linux - Software 4 11-17-2003 05:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration