LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-22-2006, 05:36 AM   #1
pochx
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Rep: Reputation: 0
how to find the version of linux


my friend is having redhat linux..

how to identify it is redhat8 or redhat9...

thanks in advance..
 
Old 09-22-2006, 05:36 AM   #2
pochx
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Original Poster
Rep: Reputation: 0
how to find the version of linux

my friend is having redhat linux..

how to identify it is redhat8 or redhat9...

thanks in advance..
 
Old 09-22-2006, 06:51 AM   #3
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
uname -a

uname -o

uname -s
 
Old 09-22-2006, 06:52 AM   #4
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
cat /etc/redhat-release

cat /etc/issue.net
 
Old 09-22-2006, 06:53 AM   #5
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
Yeah
uname -a

will give you the kernel version and you can map it with the release too.[If you have not recompiled the kernel].
 
Old 09-22-2006, 07:00 AM   #6
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
If you press CTRL+ALT+F2 (or some other F?-key from F1 to F6), you'll get a text login prompt which probably reads something like "Redhat 9 (Shriek)" or "Redhat 8 (xxxx)" which identifies it. I recall this is the default.

You can also check out which package versions are installed and compare those to the information on the web; which versions were on RH8 and which on RH9. Or you could use
Code:
uname -a
to get information about the kernel, and if it's a stock one, find out does it belong to the RH8 or RH9 installation. I think the easiest way is to use the text-login prompt information.

Oh, and you'll get back to X by pressing CTRL+ALT+F7.
 
Old 09-22-2006, 08:03 AM   #7
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
There should be a file in /etc/ something like redhat-release that contains the info
 
Old 09-22-2006, 08:03 AM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread has been merged because it is a duplicate.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find version of linux safun75 Linux - Newbie 20 01-09-2012 09:43 PM
How do I find the version of linux I am running? aaronruss Linux - Newbie 4 06-15-2009 11:27 AM
Find linux version using console? carlosos Linux - Newbie 11 08-17-2005 10:28 PM
what version of Linux and where to find rpm rkonda99 Linux - Newbie 11 06-14-2003 08:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:40 PM.

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