View Linux Kernel Config Options

GoTTimw picture GoTTimw · Jan 17, 2013 · Viewed 25.1k times · Source

Is it possible to view which flags were used during kernel compilation? 2.6.42.12-1 fedora 15.

I am sure I've done this before but I can't find anything on google (ie i look for wrong thing :/ ).

Answer

MGP picture MGP · Jan 17, 2013

Current kernel config:

cat /boot/config-`uname -r`

Other installed kernels:

ls /boot/config-*