Which Linux Distro are you using ??

Posted on Sat 10 June 2006 in Life • 1 min read

Here are a few ways to find out which linux distro you are using :

- From the Boot Time messages

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
</p>
Fire up your favourite terminal program and type in the following

`dmesg | head -1  `

</code>

The output would be similar to

<p>
`Linux version 2.6.13-15-default ([email protected]) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #1 Tue Sep 13 14:56:15 UTC 2005`
  • Using /proc/version

    In the terminal type

    cat /proc/version

    The output would be like

    Linux version 2.6.13-15-default ([email protected]) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #1 Tue Sep 13 14:56:15 UTC 2005

  • Using /etc/issue

    This method gives the most appropriate answer

    cat /etc/issue

    The output should be like

    Welcome to SUSE LINUX 10.0 (i586) - Kernel \r (\l).

Check out this for a script to find out your Distro. 

technorati tags:suse, linux, distro