Bernhard Schmidt wrote: > Bob Proulx wrote: > > Try this: > > > > $ cat /proc/version > > Linux version 2.6.32-5-686 (Debian 2.6.32-41squeeze2) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Mar 26 05:20:33 UTC 2012 > > God damnit. I was looking in /proc/sys/kernel and /sys/kernel, but not > in /proc/version. Thanks! :-( :-) Oh, and try this: $ perl -lne '$_ =~ m/Linux version \S+ \(Debian (\S+)\)/ && print $1;' /proc/version 2.6.32-41squeeze2 Bob
Attachment:
signature.asc
Description: Digital signature