After changing the keyboard (System Preferences>Keyboard>Input Sources) from 'US International - PC' to 'U.S.', I was able to verify tilde sign (~) works as expected from Terminal.
It looks like in some of the macbook, the keyboard is set to 'US International - PC' instead of 'U.S.'
I have read several answers on how to set environmental variables on OSX as permanently.
First, I tried this, How to permanently set $PATH on Linux/Unix? but I had an error message saying no such file and directory, so …
How do you create a hardlink (as opposed to a symlink or a Mac OS alias) in OS X that points to a directory? I already know the command "ln target destination" but that only works when the target is …