Inside Out

Notes on seeking wisdom and crafting software

Which Linux Distro are you using ??

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

- **From the Boot Time messages**
</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 (geeko@buildhost) (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 (geeko@buildhost) (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](http://technorati.com/tag/suse), [linux](http://technorati.com/tag/linux), [distro](http://technorati.com/tag/distro)