Tushar Teredesai wrote:
> cat /proc/version | head -n1 | cut -d" " -f1-3,5-7

On a recent Debian installation, this prints:

Linux version 2.6.18-3-686 2.6.18-7) ([EMAIL PROTECTED]) (gcc

This output doesn't allow one to tell if this kernel is compiled with 
gcc-3.0 or later.

The full /proc/version content, just for the record:

Linux version 2.6.18-3-686 (Debian 2.6.18-7) ([EMAIL PROTECTED]) (gcc version 
4.1.2 20061115 (prerelease) (Debian 4.1.1-20)) #1 SMP Mon Dec 4 16:41:14 UTC 
2006

-- 
Alexander E. Patrakov
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to