Thursday, November 15, 2007

How To Know Which Linux Distribution You Are Using?

Source: http://www.howtoforge.com/how_to_find_out_about_your_linux_distribution

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

  • From the Boot Time messages
    Fire up your favourite terminal program and type in the following

    dmesg | head -1


    The output would be similar to

    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).

P.S : You may try this shell script to know about your Linux Distribution. The original source is here

 


Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.

0 Comments: