rpm -qa and architecture info

m.roth at 5-cent.us m.roth at 5-cent.us
Tue Mar 9 19:36:28 UTC 2010


> `rpm -qa' shows the package names (and versions and releases). This
> command
>
> rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n'
>
> shows that plus architecture. Is there a shorter command that does the
> same, i.e. shows name, version, release and arch? It's hard to remember
> and type that long line. I want something like
>
> rpm -qa [a simple option that shows arch IN ADDITION TO what the preceding
> option i.e. -qa shows]
>
A one-line shell script? Or an alias?

       mark, lr="ls -laFrt"




More information about the redhat-list mailing list