yum list installed kernel\*

I don't understand how this would differ from "kernel*", or why the backslash is necessary.

link|improve this question
Hm. Not too sure then. Normally \* would mean you search for a literal asterisk and not the wildcard. – slhck Jun 4 '11 at 11:46
Seems like kernel* and "kernel*" give the same results. Perhaps yum passes this parameter to something else, so the * needs to be escaped first. – Rave Jun 4 '11 at 11:54
feedback

1 Answer

My guess: to prevent shell glob expansion in case you execute the command in a directory containing some file beginning with "kernel".

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.