Here's a very quick way to get back to you home directory in the OS X terminal. 1. They key to this is to simply not specify a path while using the change directory command at the terminal on your Mac. 2. Here's the command: cd
For more, see the original article at the link below.