Archive for the 'scripting' Category
In the first bash tutorial we went over brace expansions and a few history tricks. The goal of this post is to expand on that and teach more bash features.
Have you ever wondered when you typed a previous command in your history? This is easy to do with the $HISTTIMEFORMAT variable and bash >= 3.0. [...]
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)