Check If Your Shell Script Code Sucks. For all Shell Ninjas and all who want to be one.
If you’re a *nix user, you will write a small script for some automation sooner or later. If you are actively working in the crypto area, then you will anyway. Masternode installation scripts are an excellent example of this.
A simple shell script usually works somehow. If you have a few functions inside, it can be a bit more complicated.
It doesn’t matter if it’s easy or difficult; the code should be written correctly. Here ShellCheck comes into play. ShellCheck checks your code and tells you immediately if something is wrong.
I like to use the web based tool, copy paste done. Perfect for small scripts.
In the video the installable version is well explained. Have fun while learning.