Re: please explain yum list to me...

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

 



On Sat, 2009-02-14 at 06:51 -0700, Linuxguy123 wrote:
> Why is this ?
> 
> $ yum list *synaptics*

It's a good idea to quote any arguments with wildcards in them, e.g.:

	yum list "*synaptics*"

Otherwise, if you have a local file (or files) containing "synaptics" in
the name, the shell will substitute the name(s) into the command before
executing it, and you won't get what you want.

For example:

$ touch synaptics
$ yum list *synaptics*
Loaded plugins: fastestmirror
Installed Packages
synaptics.x86_64                    0.14.6-3.fc8   installed

Bash globbed the name *synaptics* and replaced it with the filename
"synaptics". Quoting the argument gives the desired result:

$ yum list "*synaptics*"
Loaded plugins: fastestmirror
Installed Packages
synaptics.x86_64                    0.14.6-3.fc8   installed     
Available Packages
gsynaptics.x86_64                   0.9.14-2.fc8   updates-newkey
ksynaptics.x86_64                   0.3.3-5.fc8    updates-newkey
libsynaptics.i386                   0.14.6c-2.fc8  fedora        
libsynaptics.x86_64                 0.14.6c-2.fc8  fedora        
libsynaptics-devel.i386             0.14.6c-2.fc8  fedora        
libsynaptics-devel.x86_64           0.14.6c-2.fc8  fedora        
xfce4-gsynaptics-mcs-plugin.x86_64  1.0.0-1.fc8    updates-newkey


-Chris

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

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

  Powered by Linux