How to test bash scripts
I was coding a bash script that was giving me an error but the message was not very helpful.
After googling a bit I found out that I could ask bash to help me find where the problem was being generated.
bash -x yourscript.sh
Make a Payment to Christian Roy