Re: how to determine kernel version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




William Hooper wrote:

Harry Putnam said:


Jeff Vian <jvian10@xxxxxxxxxxx> writes:



So modify the rpm statement to "rpm =qa | grep kernel " or "rpm -qa
kernel\*" and it WILL show all kernels installed with rpm ( as well
as all other kernel packages, source, etc) .


A typo I guess `=' but this:
rpm -qa|grep kernel\*



The above doesn't have a grep.



won't show anything different than:
rpm -qa|grep kernel



More to the point:

    rpm -qa kernel

Is also the same.


No, these are NOT the same.

The first gives:
$ rpm -qa | grep kernel
kernel-source-2.4.20-8
kernel-2.4.20-8
kernel-doc-2.4.20-8

as does:
$ rpm -qa | grep kernel\*
kernel-source-2.4.20-8
kernel-2.4.20-8
kernel-doc-2.4.20-8

and this is the same result as well:
$ rpm -qa kernel\*
kernel-source-2.4.20-8
kernel-2.4.20-8
kernel-doc-2.4.20-8


but yours gives: $ rpm -qa kernel kernel-2.4.20-8






[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux