Automate commands

This provides a way to capture specific shell commands to a file "shellcmds.sh".
add a couple of example in the style guide on how to use this