On Tue, Nov 05, 2002 at 10:45:27AM +0100, Michael Schwendt wrote:
 
> The following would print the kernel config file name of the running
> kernel:
 
>   $ rpm -q kernel --qf "/boot/config-%{version}-%{release}\n"

$ rpm -q kernel --qf "/boot/config-%{version}-%{release}\n"
/boot/config-2.4.18-10
/boot/config-2.4.18-17.7.x

Now you only have to know which one is the running kernel {^_-}

Alexander




Reply via email to