Read version and distro?

Kevin Buettner plug-discuss@lists.PLUG.phoenix.az.us
Thu, 15 Nov 2001 16:32:05 -0700


On Nov 15,  5:54pm, <alandd@mindspring.com> wrote:

> Is there a command(s) or perhaps a file to read that will tell what
> kernel and distro verison a Linux box is running?  A string that
> says "RedHat X.X Linux 2.x" or something like that.  Or maybe the
> info comes from two different places.  Whatever.  How do I get that?

How about:

    [kev@mesquite kev]$ head -1 /etc/issue ; uname -a
    Red Hat Linux release 7.2 (Enigma)
    Linux mesquite 2.4.7-10 #1 Thu Sep 6 16:46:36 EDT 2001 i686 unknown

Kevin