11-05-2001
19,
0
Join Date: Oct 2001
Last Activity: 11 December 2002, 4:38 PM EST
Location: Greenwich, CT
Posts: 19
Thanks Given: 0
Thanked 0 Times in 0 Posts
CDPATH, when set, will tell the cd command to search those paths when looking for the target directory. For example:
% echo $CDPATH
.:/usr/local
% pwd
/home/myuser
% cd bin
% pwd
/usr/local/bin