Re: How to find which Linux distribution running ? Any command like "uname -a" ?

From: Lew Pitcher (lpitcher_at_sympatico.ca)
Date: 09/05/04

  • Next message: Karl: "which shell ?"
    Date: Sun, 05 Sep 2004 00:04:42 -0400
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Karl Johansen wrote:
    > How to find which Linux distribution running ?
    > Is there any command similar to "uname -a" to tell me the Linux distribution
    > ?

    Not reliably.

    Often, there is a file in /etc that contains some indication of the
    distribution name and release number. For slackware (for instance), there is
    /etc/slackware-version. In other distributions, there are other files
    (usually, a /etc/*-release file).

    But, there's no guarantee that such a file exists in each and every
    distribution, or that the file was retained by the installer.

    - --
    Lew Pitcher

    Master Codewright & JOAT-in-training | GPG public key available on request
    Registered Linux User #112576 (http://counter.li.org/)
    Slackware - Because I know what I'm doing.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    iD8DBQFBOpBaagVFX4UWr64RAnUdAKChDqznZb+x5rHYTZI/ui8XfxHekACgiZil
    gNT9/FGZa1i09+dcSTpLKf0=
    =tPj9
    -----END PGP SIGNATURE-----


  • Next message: Karl: "which shell ?"