Archive for the 'Redhat' Category

Unbeknownst to many, rpm supports random printf() style query strings via the –qf option. List all available tags with “rpm –querytags” and display them with “rpm -q –qf ‘%{QUERYVARIABLE}’. On some versions of rpm, you need to place multiple variables inside brackets ( [] ) to display them all properly.
Use the ARCH and NAME tags [...]





View Jeff Schroeder's profile on LinkedIn
All content (c) 2008 Jeff Schroeder