Fix ~ being escaped.

~ doesn't need to be escaped.
Remove trailing whitespace.
Add initial linux documentation.