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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux