[CentOS] yum and wildcard problems
Stephen Harris
lists at spuddy.org
Tue Apr 17 16:09:05 UTC 2007
On Tue, Apr 17, 2007 at 11:04:57AM -0500, Brian Barnes wrote:
> I am having trouble using wildcards ("*") with yum in Centos 5. Listing
You're probably having problems with shell expansions.
> [root at granta ~]# yum list kern*
> yum: No match.
This is the shell saying that; it's trying to expand kern* and failing.
Whenever you use * or ? on command lines you should quote them. So
yum list 'kern*'
OR
yum list kern\*
to stop the shell from changing your input.
--
rgds
Stephen
More information about the CentOS
mailing list