← Week 2 | Overview | Week 4 →
Week 3 - Pipes and text tools¶
Phase 1: Shell fluency (Weeks 1-4)
- Done
Goal: Use the shell as a data-processing tool.
Reading: Ch. 6 Redirection; Ch. 7 Seeing the World as the Shell Sees It; Ch. 19 Regular Expressions (grep); Ch. 20 Text Processing (sort, uniq, cut, tr, sed). awk is not covered, use its man page.
Exercises:
- Master grep (with -r, -i, -E), sed, awk, sort, uniq, cut, tr, xargs, wc.
- Analyse an ASP.NET Core log file: top 10 error messages, requests per minute, slowest endpoints.
- Learn redirection and pipes (>, >>, 2>&1, |, tee) and process substitution.
- Bandit levels 13-20.
Deliverable: A file of 15 useful one-liners, each with a one-line explanation.
My notes: week-03-notes.md