Make sure you are including "rpm -qa | grep kde" in backticks. So, if you do:
rpm -e `rpm -qa | grep kde` "rpm -e" will act on the output from "rpm -qa | grep kde" -Steve -----Original Message----- From: Gene Yoo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 2:01 PM To: [EMAIL PROTECTED] Subject: Re: kde Rigler, S C (Steve) wrote: > KDE has several other packages that come with it that aren't named "kde*". > (ark, arts, kaboodle, kamera, karm, kcalc, etc...) > > At any rate, one way to remove multiple packages is like this: > > rpm -e `rpm -qa | grep kde` i got an error message saying the package rpm -qa | grep kde could not be found. did i get the bash syntax wrong? i did exactly as written above... TIA > > You could also dump all the names of the packages you want to remove > into a file and do like: > > rpm -e `cat <file>` > <snip> -- <<gyoo [at] attbi [dot] com>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iQCUAwUBPhxERRxoVYCzmrKXAQJK5gP3Y7CTsFyKpEz2p5W4GWI9+qSm+kWfdJ0R xNlma0Ma9rAL/OBJcZMo5IXyXas+3Edogbv4Al6dIf8lot1WS0Iaxxl/cg2f7gf+ otf7LfNpZDE/6OzR7A1qN6baPMLSjGzywwQWMfSVuWWb6kGQxMsA13Kn68G7Ozxs 5CODZqUPyg== =AolA -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list