I would like to know how people of HN keep in touch with scripting on a regular basis as a part of your job and what are the practices that you follow.
Ask HN: How does one practice day to day shell scripting
1–5 of 5 posts
Re: Ask HN: How does one practice day to day shell scripting
#2Re: Ask HN: How does one practice day to day shell scripting
#3There is also a shorter, HTML version at the same site: https://linuxcommand.org/lc3_learning_the_shell.php
I'm trying to get a little proficiency in all this, and just yesterday I went through the "Further Reading" sections at the end of each chapter, and captured all the likely URLs for further investigation.
One that looks really good is Dylan Araps' "Pure Bash Bible" ( See https://github.com/dylanaraps/pure-bash-bible ) Confession: I found a PDF copy at Libgen, but don't tell anyone. This and the Shotts book have also been thoroughly discussed on Hacker News in the past. (I.e., search on the two titles and you'll probably get all the opinions that you can stand, plus maybe some more hints.)
Bash is profoundly weird, but if/when you can make it work, it's slick.
Re: Ask HN: How does one practice day to day shell scripting
#4Don't. My rule is if it's more then 3 lines or more complex than simple commmand call, it'll be written in Python. It will be easier to read for everyone around and avoid all the shell footguns.
Also whenever I need to do some repetitive file operations writing shell scripts in the command line becomes important.
Re: Ask HN: How does one practice day to day shell scripting
#5This is also referenced by Shotts, and has been discussed on Hacker News -- not to be missed.