Writing bash scripts seems like the ideal use case for Chat-GPT style programming.
The programs are fairly short, examples are common in the corpus, and the syntax and execution model are so inscrutable that only a machine can pretend to understand what’s going on.