Re: grep command question

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

 



On Fri, 2003-05-23 at 10:23, Stephen Liu wrote:
> Hi all folks,
> 
> If I expect to check whether packages, AAA, BBB, CCC, DDD, etc. have
> been installed simultaneously what syntax shall I issue in following
> commands
> 
> rpm -qa | grep AAA/BBB/CCC/DDD
> 

rpm -qa | egrep 'AAA|BBB|CCC|DDD'

P.


-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux