Show notes
Bash is superb at running commands in sequence. It is poor at anything else — arithmetic that is not integers, structured data, error handling, anything you will still want to read in a year. The honest rule is a length one: when a shell script passes about a hundred lines, or the moment it starts parsing JSON, rewrite it in Python. Ansible is written in Python, so is dnf, so is most of the Linux automation ecosystem, and a great deal of what a Linux administrator does with Python is gluing existing tools together rather than writing programs from scratch.
Full written lesson, labs and…
Website: podcasters.spotify.com
