Bash
Posts with category: bash
- “Bashful Thinking”: a newsletter for bash scripting enthusiasts • 28 Jul 2020
I’ve decided to start a new email newsletter about my favourite tech topic: bash/shell scripting. It’s something I’ve become quite proficient in during the years, and I still discover new tricks, tools or applications every day. So I will bundle...
- Calculate hit rate from a log file • 21 Oct 2004
You have a huge file that contains one line per request/transaction. Some of the lines are of one type (e.g. ‘HIT’), some of another (e.g. MISS). Let’s say you want to calculate the hitrate, but as fast as possible. We...