Add some documentation on executing commands.
Fix typos in documentation.