LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2011, 03:18 PM   #1
hmutual2
LQ Newbie
 
Registered: Feb 2011
Posts: 10

Rep: Reputation: 0
Linux version


I am looking to get some information on the version of Linux we are running. I was advised that it was 2.6.18-194.17.4.el5. When I did a search on this and it keeps telling me that is reference to a kernel info. Is this the Linux version or kernel info?
 
Old 02-04-2011, 03:21 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,332

Rep: Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406
The uname -a command should give you the kernel. If you are looking for the distribution, it is in the /etc/issue file on most systems.
 
Old 02-04-2011, 03:24 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,258

Rep: Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436
Quote:
Originally Posted by hmutual2 View Post
I am looking to get some information on the version of Linux we are running. I was advised that it was 2.6.18-194.17.4.el5. When I did a search on this and it keeps telling me that is reference to a kernel info. Is this the Linux version or kernel info?
That's both "yes" and "no", depending on which way you look at it. The kernel is the 'root' of the operating system, while the distro as a whole depends on what the kernel does...same as the Mac or Windows.

Based on what you've posted, it seems like you're either running RedHat Enterprise Linux 5.xx or CentOS 5.xx. Go to a terminal, and do an "ls /etc/*-release*". You'll see something obvious like /etc/redhat-release. Take whatever file name it gives you, type in "cat /etc/<filename>", and it'll give you the version/distro and architecture.
 
Old 02-04-2011, 03:25 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
try
Quote:
cat /etc/*-release
Kind regards
 
Old 02-04-2011, 05:20 PM   #5
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,376

Rep: Reputation: 960Reputation: 960Reputation: 960Reputation: 960Reputation: 960Reputation: 960Reputation: 960Reputation: 960
version

The Kernel IS Linux.
The rest is GNU software wrapped up WITH Linux as a Distribution.
If you can tell us what Distribution you are running, we can tell you how to figure out the version.
 
Old 02-04-2011, 06:23 PM   #6
hmutual2
LQ Newbie
 
Registered: Feb 2011
Posts: 10

Original Poster
Rep: Reputation: 0
I was told it was Redhat Linux.


Thanks for the help
 
Old 02-04-2011, 06:27 PM   #7
BeyondSora
LQ Newbie
 
Registered: Feb 2011
Location: Waterloo, Ontario, Canada
Distribution: Ubuntu 10.10, Arch
Posts: 11

Rep: Reputation: 0
"uname -a" should show you the kernel version
Quote:
cat /etc/*-release
as mentioned by repo
this should show u the version of red hat linux you are running
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which LXDE version of Linux has the newest version of Firefox and Open Office? coolguy2008 Linux - Newbie 6 09-19-2010 01:04 PM
[SOLVED] MinGW - performance is degarding from linux version to win32 version manu-tm Programming 5 07-20-2009 10: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 03:43 PM
who knows the kernel version of each version of linux iamthewind Linux - Software 4 11-17-2003 06:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration