How to Find Out What Version of Linux You Are Running

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

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.45/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...

14 Responses

  1. D says:

    This is very helpful.

    What about multiboot systems, is there command for listing all installed linux os by partition? i.e. I have installed 3 different linux systems each on their different partition segments.

    How can I find out which partition has which linux OS and version? I know when I install a new linux system the guided process let me view the existing installed OS version by partition table, can i view the same info by running a command?

  2. 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:


      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.

  3. seeker says:

    cat /etc/*{release,version}

  4. 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
  5. Silvi says:

    or just install screenfetch

  6. Aram Iskenderian says:

    Safest way, works on almost all Linux versions.

    cat /etc/*release.

  7. GM says:

    Simpler option:

    lsb_release -a

Leave a Reply to Chris Snuggs Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.