A quick reference in this repository, Bash/README.md, answering SRE interview questions over a simulated Nginx combined access log (Bash/access.log) with pipelines of awk, cut, sort, uniq, grep, and wc.1
Takeaways
- A few filters recombine to answer most “top N”, “count per X”, and “filter by Y” questions.1 See Text-processing pipelines.
Footnotes
-
Bash SRE HackerRank Quick Reference, original on GitHub ↩ ↩2