Question : linux rpm

Hello,
I am hoping to get the description for an rpm.  I am told that this command should work;
rpm -qf '%{DESCRIPTION}' -q name or rpm -qi

I tried these commands, but have not gotten a description of the rpm.  
Might you have a solution?

Answer : linux rpm

Try this:

rpm -qa --queryformat '%{DESCRIPTION}\n' bash
Random Solutions  
 
programming4us programming4us