Add shell-session example to cheatsheet

Also fix bash example to show a script, not a shell session.