Type Two Letters In The Terminal And Get Back To Your Home Directory

If you've spent any time using the command line on a Mac, you know the cd (change directory) command helps you move from place to place by specifying the path to which you want to travel. What you might not know is that if you specify no path at all, it will take you back to your home directory.

Simply type this...


...and you'll end up at ~/ (home).


    Also, not sure if this works in OS X, but: in UNIX, if you want to switch to another user's home directory, you can do cd ~username.

Join the discussion!

Trending Stories Right Now