LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-06-2006, 01:32 AM   #1
Grid_Iron
LQ Newbie
 
Registered: Oct 2006
Location: Makati, Phillipines
Distribution: Mandrake Linux 10.0
Posts: 6

Rep: Reputation: 0
Want to know the version of linux on my computer


Hello to all! Iīm an absolute newbie and I just want to know how I could see the version of Linux in my computer. I just know the version of KDE. thanks!
 
Old 10-06-2006, 01:35 AM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Mighty vague question ... Maybe what you want is "uname -r"
 
Old 10-06-2006, 05:22 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
or
Code:
cat /etc/<distro>-version
Where <distro> is the name of your distribution.
 
Old 10-06-2006, 05:47 AM   #4
bhert
Member
 
Registered: May 2006
Distribution: OpenSUSE 10.3 Kubuntu Hardy Heron
Posts: 268

Rep: Reputation: 30
You might have to go look in /etc for wording. For my suse, it was SuSE-release.

bhert
 
Old 10-06-2006, 06:33 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,669

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
Originally Posted by XavierP
or
Code:
cat /etc/<distro>-version
Where <distro> is the name of your distribution.
I believe the usage is /etc/release or /etc/<distro>-release under most if not all Unix/Linux distributions.

There must be also a /etc/lsb_release file on LSB compliant distribution.
 
Old 10-06-2006, 08:11 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
I asked a while back for the locations of various distro release files, to put in a script that would return system information.

You could search that, it had some for redhat distros, arch, slackware a few others i think. Are you using mandrake/mandriva from the look of your kernel?
 
Old 10-06-2006, 11:10 AM   #7
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 728

Rep: Reputation: 74
Hi.

I agree with rickh that uname is a place to start, although that gives the kernel version, e.g. on this box it's 2.6.11-x1.

As noted, the directory /etc contains files with names that have the string release or version in them. You could search for those. Sometimes more than one might exist.

For example, on my Debian-derived Xandros system I have the files and contents noted below ... cheers, makyo
Code:
     /etc/debian_version
     1  3.1

     /etc/lsb-release
     1  LSB_VERSION=2.0
     2  DISTRIB_ID=Xandros
     3  DISTRIB_RELEASE=3.0.2
     4  DISTRIB_CODENAME=Xandros
     5  DISTRIB_DESCRIPTION="Xandros Desktop OS"

     /etc/xandros-desktop-version
     1  Version: Xandros Desktop OS 3.0.3 Business
     2  Build Info: 2005-10-31 15:14
     3  Part: DBX303ENCD1SE28
     4  Sku: DSKB300NAEN
     5  xDMS: supported
 
Old 10-09-2006, 01:31 AM   #8
Grid_Iron
LQ Newbie
 
Registered: Oct 2006
Location: Makati, Phillipines
Distribution: Mandrake Linux 10.0
Posts: 6

Original Poster
Rep: Reputation: 0
Hi!

Thanks guys! Iīve got it, ItīsMandrake Linux release 10.0
thanks again guys..
 
  


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
ralink rt2500 freezes computer reinstall new version????? onthefritz Mandriva 3 02-11-2006 03:03 PM
Can't copy files from an SCO Unix System V computer to a Linux computer gnppapas Linux - General 2 11-27-2004 02:39 PM
Ok I downloaded version 10 on another computer..problem!! Pawpower1995 Mandriva 7 06-08-2004 10:55 PM
How can i portage Linux from computer with Celeron proc to computer with Pentium 166? gdi Linux - General 4 05-31-2003 02:11 AM
best version for older computer? jennyb Linux - Newbie 18 01-15-2003 03:13 PM


All times are GMT -5. The time now is 04:07 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