Added a Bash Command handler

Handles bash commands and returns nicely formatted output array.