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

From: Lew Pitcher (
Date: 09/05/04

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

    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 (
    Slackware - Because I know what I'm doing.
    Version: GnuPG v1.2.4 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird -

    -----END PGP SIGNATURE-----

  • Next message: Karl: "which shell ?"