3 ms·
LLMs totally kick ass for making bash scripts
by chamomeal 1y ago
LLMs totally kick ass for making bash scripts
- dboreham 1y agoStrong agree. Bash is so annoying that there have been many scripts that I wanted to have, but just didn't write (did the thing manually instead) rather than go down the rabbit hole of Bash nonsense. LLMs turn this on its head. I probably have LLMs write 1-2 bash scripts a week now, that I commit to git for use now and later.
- unshavedyak 1y agoSimilarly my Nix[OS] env had a ton of annoyances and updates needed that i didn't care to do. My first week of Claude saw tons of Nix improvements for my environment across my three machines (desk, server, macbook) and it's a much more rich environment. Claude did great at Nix, something i struggled with due to lack of documentation. It was far from perfect, but it usually pointed me towards the answer that i could later refine with it. Felt magical.
- elcritch 1y agoSimilarly I've been making Ansible Playbooks using LLMs of late, often by converting shell scripts. Play books are pretty great and easier to make idempotent than shell. But without Claude I'd forget the syntax or commands and it'd take forever to setup.
- int_19h 1y agoWhy not use a more sensible shell, e.g. Fish?
- chamomeal 1y agoAlso great at making fish scripts! Bash scripts are p much universal though. I can send em to my coworkers. I can use them in my awful prod-debugging-helm environment.