better logging for bash/shell commands