4 ms·
Greg's BASH Wiki is the best resource that I've found for tips, tricks and discussion of the many, many mistakes that BASH almost encourages people to make. ht
by ndsipa_pomu 2y ago
Greg's BASH Wiki is the best resource that I've found for tips, tricks and discussion of the many, many mistakes that BASH almost encourages people to make.
https://mywiki.wooledge.org/BashGuide https://mywiki.wooledge.org/BashGuide
Also, ShellCheck is an invaluable resource to use on all your scripts. When it complains about something, read up on why it doesn't like it and then decide to either fix your code or put in an exception to tell ShellCheck to ignore that particular issue for the next line.
https://www.shellcheck.net/ https://www.shellcheck.net/
- pmarreck 2y ago+1 for shellcheck recommendation, it's fairly essential if you want to be good at Bash
- wyclif 2y agoIs shellcheck written in Haskell?
- ndsipa_pomu 2y agoYes, it's mentioned on their homepage - "written in Haskell, if you're into that sort of thing." https://www.shellcheck.net/ https://www.shellcheck.net/