On Fri, 09 Jan 2004 09:09:04 -0500, Martin J. Stumpf wrote: > I thought this might be helpful. Reading the posts regarding mysql and > using rpm, I saw the use of grep to find the package of interest. I too > always used grep but always thought that with a -qa I should be able to > use wildcards! So.... I tried it about a month ago and aha! It worked. > It must be undocumented because I have never seen it in the manual. > > {mjs@xxxxxxxxxxxxxxxxxxx}:/home/mjs > % rpm -qa auto* > automake-1.6.3-5 > autofs-3.1.7-36 > autoconf-2.57-3 > automake15-1.5-6 > autorun-3.10-1 > automake14-1.4p6-5.1 > > {mjs@xxxxxxxxxxxxxxxxxxx}:/home/mjs > % rpm -qa my* > mysql-3.23.54a-11 > mysql-server-3.23.54a-11 Be sure to put the wildcard expression into single quotes, rpm -qa 'my*' else the shell takes care of it when files in local directory are matched. -- -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list