- rpm -qa > list
--- one <block12@...> wrote:
> Dear Members,
> How to query the rpm directory to list all the
> installed rpms and redirect
> the output to a file ?
> Thank You
National University of Computer & Emerging Sciences.
160, Industrial State, Hayatabad, Peshawar, Pakistan.
Tel: 92 91 5837892
Fax: 92 91 822320
Mob: 92 333 9183920
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
- [ Top post undone. "ur" translated from l33t into English.
Quoting trimmed to relevant content. - Moderator ]
one <block12@...> wrote:
> How to query the rpm directory to list all the installed rpms andhello
> redirect the output to a file ?
You can query the rpms which are installed by
#rpm -qa or #rpm -ql
This will lists the installed rpms in your machine.
Thanks and regards.
- Maccy wrote:
>You might want to sort them by title:
> On Wed, 30 Mar 2005, one wrote:
> > Dear Members,
> > How to query the rpm directory to list all the installed rpms and
> > the output to a file ?
> rpm -qa > file.txt
rpm -qa | sort > File.txt