Exit Shell script with error if any command fails

   I wrote a Bash script today to automate my code review process and I noticed that even when certain commands in the workflow fail, the script still executes the remaining commands. For example, let's say I have two commands that run synchronously: git...

Mac OS List directory in tree view using find command.

In mac (also in a Linux systems) you will have to install an additonal package called `tree` to display the content of folder in a tree view.    But what if you are like me; someone who doesn't like to install additional packages just for a simple task? Well,...