How do you reveal all those dot files like .bashrc and .profile?
To see the invisible files, i.e. .bashrc and .bash_aliases etc.
Open Terminal For OS X 10.9 Mavericks or 10.10 Yosemite, run this command (lower-case finder):
$ defaults write com.apple.finder AppleShowAllFiles TRUE
For OS X 10.8 Mountain Lion, 10.7, or 10.6, run this command (upper-case Finder):