Shell Script Best Practices

Posted on Thu 27 October 2022 in Sysadmin • Tagged with Bash

These are some very good things to consider when writing shell scripts.

I am not sure about point #1 though. If you are writing a script that would be in a software package you need to consider whether the package should require Bash or not. Some minimal systems only have …


Continue reading