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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
03-31-2004, 08:52 AM
#1
LQ Newbie
Registered: Mar 2004
Posts: 5
Rep:
Determining which Linux version I'm running
Obvious newbie here.
I'm trying to determine which version of Linux my server is running by typing the command 'uname -r'.
The result I get is
2.4.20-19.7
However, this doesn't look like a legitimate Linux version to me, or am I reading it wrong?
Any ideas?
03-31-2004, 08:57 AM
#2
Member
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550
Rep:
2.4.20 is your Linux version
03-31-2004, 09:14 AM
#3
LQ Newbie
Registered: Mar 2004
Posts: 5
Original Poster
Rep:
Is this the version of Redhat, or the version of Linux, or both?
Thanks.
03-31-2004, 09:16 AM
#4
Member
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550
Rep:
Just the kernel version. The version of Red Hat you're running will be in /etc/redhat-version (I think).
11-25-2007, 05:47 PM
#5
LQ Newbie
Registered: Nov 2007
Location: Sweden, top of the world
Distribution: OpenBSD, Debian, Ubuntu, Kubuntu
Posts: 2
Rep:
Determine version of Ubuntu
jlind@matroska:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"
jlind@matroska:~$
Other dist's put similar files in /etc, look for a small text file that has a fitting name.
file(1) is your friend.
-- JPL
11-25-2007, 06:49 PM
#6
Senior Member
Registered: Dec 2003
Distribution: Fedora
Posts: 1,492
Rep:
Take a look
here for the version files various distros put in etc/.
[edit]
JPL-JPL, this thread's more than 3 years old.
Last edited by Berhanie; 11-25-2007 at 06:52 PM .
11-26-2007, 05:03 AM
#7
LQ Newbie
Registered: Nov 2007
Location: Sweden, top of the world
Distribution: OpenBSD, Debian, Ubuntu, Kubuntu
Posts: 2
Rep:
Quote:
Originally Posted by
Berhanie
Take a look
here for the version files various distros put in etc/.
[edit]
JPL-JPL, this thread's more than 3 years old.
Thanks, great info, though this page still ranks high when googling, and there is a value in that as well.
over and out
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 09:59 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News