LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Want to know the version of linux on my computer (https://www.linuxquestions.org/questions/linux-newbie-8/want-to-know-the-version-of-linux-on-my-computer-489889/)

Grid_Iron 10-06-2006 12:32 AM

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!

rickh 10-06-2006 12:35 AM

Mighty vague question ... Maybe what you want is "uname -r"

XavierP 10-06-2006 04:22 AM

or
Code:

cat /etc/<distro>-version
Where <distro> is the name of your distribution.

bhert 10-06-2006 04:47 AM

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

bhert

jlliagre 10-06-2006 05:33 AM

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.

ethics 10-06-2006 07:11 AM

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?

makyo 10-06-2006 10:10 AM

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


Grid_Iron 10-09-2006 12:31 AM

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


All times are GMT -5. The time now is 05:48 PM.