
However, while writing bash scripts, you should keep a sharp lookout for any mistakes that may arise in your bash syntax. This is where Greg's wiki comes into the picture. Greg's wiki has a page which lists around 29 bash examples that highlight all the common mistakes that people usually make while writing bash scripts.