Command Line Magic With Aiven CLI

See the original posting on DZone Python

While intended for use with Aiven’s Command line-interface, we also hope you’ll find this post as a useful guide to get generally familiar with — or to revisit – some basic bash scripting, including shell functions, aliases, bash, grep and regular expressions! 

We’ll cover alot of things you can do straight from the command line, including: counting line items; filtering lists; making verbose lists of console output items more readable; using regular expressions to search for patterns within logs and other console outputs; and using aliases and shell functions to store commands you might use repeatedly.