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 [...]
Latest Entries
Archives
Categories
- Linux (5)
- Redhat (1)
- scripting (2)
- Systems Administration (2)
- Ubuntu (1)
- Uncategorized (1)