|
Oct 15
2008
|
This article is part of the ongoing Productivity Tips for Geeks series. cd is one of the most frequently used command during a Unix session. In this article, I've provided 6 cd command hacks, which will boost your productivity instantly and make it easier to navigate the directory structure from command line.
Hack #1: Use CDPATH to define the base directory for cd command
If you are frequently doing cd to subdirectories of a specific parent directory, you can set the CDPATH to the parent directory and perform cd to the subdirectories without giving the parent directory path as explained below.