What version of Linux do I have installed???

Discussion in 'Site & Server Administration' started by shadragon, Nov 15, 2007.

  1. #1
    I have a development server I inherited. It is Linux based, but no graphical interface. It uses a shell for commands.

    If I run 'uname -a' I get:

    Linux (Servername Deleted) 2.4.21-27.0.4.ELsmp #1 SMP Sat Apr 16 18:43:06 EDT 2005 i686 i686 i386 GNU/Linux

    So it is GNU/Linux, but as I understand it this could be RedHat, Debian, etc.

    Obviously, I need to know this to update it and install new packages.

    Any ideas??? Google turned up nothing.
     
    shadragon, Nov 15, 2007 IP
  2. st1905

    st1905 Well-Known Member

    Messages:
    573
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    135
    #2
    cat /etc/release or cat /etc/redhat-release or cat /etc/*release you can easily find your version.
     
    st1905, Nov 15, 2007 IP
  3. shadragon

    shadragon Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Perfect... Got the version with no problems... Cheers.
     
    shadragon, Nov 15, 2007 IP
  4. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #4
    BTW, seems you're using old OS, as evident from 2.4.x kernel.
     
    agnivo007, Nov 15, 2007 IP