How do I determine the version and type of linux?



  • It is not always easy trying to find the type of linux you are running, for instance if you do a "uname -a", it does not say it is Redhat or SuSE.

    A combination of commands can provide this information:

    This tells you that you are running SuSE Linux

    # cd /proc
    # more version
    Linux version 2.6.5-7.244-smp (geeko@buildhost) (gcc version 3.3.3 (SuSE Linux)) #1 SMP Mon
     Dec 12 18:32:25 UTC 2005
    

    This tells you the version plus other information.

    # uname -a
    Linux Unixbod 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux
    

Log in to reply
 

© Lightnetics 2024