How to Find Out What Version of Linux You Are Running

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

12 Responses

  1. Chris Snuggs says:

    “To find out which version of Linux kernel you are running, type:”

    $ uname -or...
    

    TYPE IT WHERE? You do not give the ESSENTIAL INFORMATION. Command Line? WHERE IS THAT?
    ~
    Websites constantly say TYPE THIS OR THAT, but WHERE?????

    • Silvi says:

      In a terminal, you type commands in a terminal

    • Aaron Kili says:

      @Chris

      Sorry about this, as you’ve mentioned, we normally do this a lot, i guess it’s because we spend so much time running commands and all we know(or think of) is the command line interface or terminal to have access to Linux.

      However, many thanks for the heads up, we’ll work towards giving essential information to readers in future articles.

  2. seeker says:

    cat /etc/*{release,version}

  3. RabidPhilbrick says:

    Contents of a file can be modified.

    I use this:

    # rpm -q --whatprovides /etc/redhat-release
    

    Haven’t tried it but this would probably work:

    # rpm -q --whatprovides /etc/*release
    
  4. Silvi says:

    or just install screenfetch

  5. Aram Iskenderian says:

    Safest way, works on almost all Linux versions.

    cat /etc/*release.

  6. GM says:

    Simpler option:

    lsb_release -a

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *