** Reply to message from Chuck Mead <[EMAIL PROTECTED]> on Mon, 14 Jan 2002 09:42:28 
-0500 (EST)


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Mon, 14 Jan 2002, Nick Wilson posted the following:

> NW>How can I get a list of installed packages from the command line?
> 
> rpm -qa >>list-of-install-rpms

I use this stupidly simple bash script. I call it "rpmlist"

rpm -qa --qf '%-20.20{VENDOR}  %30.30{BUILDHOST} ::  %{NAME}-%{VERSION}.%{ARCH}\n' | 
sort > /home/jb/rpm.lst

jb



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to