How to write idempotent Bash scripts (2019) | Hacker News Reader