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…
cd
…and you’ll end up at ~/
(home).
Comments