Read version and distro?

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


On Nov 15,  4:43pm, Patrick Fleming EA wrote:

> [pat@gw-fw realty]$ cat /proc/version
> Linux version 2.4.2-2 (root@porky.devel.redhat.com) (gcc version 2.96 
> 20000731 (Red Hat Linux 7.1 2.96-79)) #1 Sun Apr 8 18:47:21 EDT 2001

This is the kernel version.  It's true that "redhat" or "Red Hat"
appears in the above string, but all this really tells you is that the
kernel in question was built on a Red Hat machine with a Red Hat
version of gcc.  It would (conceivably) be possible to run the kernel
in question on some other Linux distribution.

Kevin