Bash scripts tend to follow a life time. They start as a long bash command dumped into a file for future use. They then get formatted and prettified when others want to use them. When your script gets used by others it’s a great idea to add some basic error checking and help information. Let’s look at how to do this. The example script, print-string.sh, does nothing else but print a string passed to it. Here it is: