Added bash syntax to snippets and small changes to the text.