[SLL] uname -m tells me kernel type of 64 bit or otherwise...

Rob Smith kormoc at gmail.com
Tue Nov 13 18:00:46 PST 2007


On Nov 13, 2007 3:38 PM, Xeno Campanoli <xcampanoli at gmail.com> wrote:
> Thing is, I was looking for something to tell me if I have a 64bit
> kernel

file /boot/vmlinuz-`uname -r` | awk '{print $3}'

change vmlinuz to whatever naming your distro uses if it's not correct

> It seems to me the information I need should be there,
> and there is a serious abusage of laziness going on here.

It's open source, and there's tons of ways to do what you are asking
about. You could always google or fix the code yourself. Calling
people lazy when free things don't work isn't very nice at all...

~Rob


More information about the linux-list mailing list