Automate commands

This provides a way to capture specific shell commands to a file "shellcmds.sh".
well, not `shellcmds.sh` exactly right, since the filename will also include the Chapter #, etc.?