The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 10-20-2006
BOFH BOFH is offline Forum Advisor  
Registered User
  
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 406
Code:
$ cat /proc/version
Linux version 2.4.21-0.13mdksecure (flepied@bi.mandrakesoft.com) (gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)) #1 SMP Fri Mar 14 14:10:36 EST 2003
This provides kernel info, build dates, and possibly even the distribution and version.

There might also be a /etc/*-release file where the * corresponds to the linux distribution (/etc/SuSE-release, /etc/redhat-release, or /etc/mandrake-release).

Code:
$ cat /etc/mandrake-release
Mandrake Linux release 9.1 (Bamboo) for i586
Carl