// Internet Duct Tape

How to find out which version of Linux you are running

Posted in Asides, Linux and Unix, Technology by engtech on April 20, 2006

Differ distros will give different results, but they are usually under /etc/*-release
Red Hat uses /etc/redhat-release

> cat /etc/redhat-release
Red Hat Enterprise Linux WS release 3 (Taroon Update 6)

One Response

Subscribe to comments with RSS.

  1. emgee said, on May 21, 2007 at 12:27 pm

    uname -a gives the running version.
    cat /etc/*-release gives the version that was installed to start with.

Comments are closed.

%d bloggers like this: