4 ms·
As someone who used to have to write a lot of shellscripts because I worked at a company that believed in files and not databases, if you want to get funky use:
by blobbers 4y ago
As someone who used to have to write a lot of shellscripts because I worked at a company that believed in files and not databases, if you want to get funky use:
shellcheck
It's like pylint for your shellscripts.
- pferde 4y agoA thousand times this. Shellcheck is a godsend that will save you tons of headaches if you have to deal with longer shell scripts - whether you are writing new scripts or maintaining old ones.
- ndsipa_pomu 4y agoJob interviews should require unix admins to write a ten line bash script that passes shellcheck on the first attempt. Also, write a "find" command without checking the manpage or internet