Cdpath


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Cdpath
# 1  
Old 09-26-2006
Cdpath

i add a new path to CDPATH
but i cannot go to that path
the error is as follows:

export CDPATH:$CDPATH:/home/dir1/dir2
cd dir2
ksh: dir2: not found

what is the problem?
# 2  
Old 09-26-2006
export CDPATH=$CDPATH:/home/dir1
 
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

environment variables in cdpath

CDPATH=.:/users/:/users/user1/:/users/user1/dir1/ is ok but CDPATH=.:$HOME/:$HOME/dir1/ fails although $HOME=/users/user1 why? (3 Replies)
Discussion started by: gfhgfnhhn
3 Replies

2. UNIX for Dummies Questions & Answers

$cdpath?

Hello I just read about some Shell variables. There is one named CDPATH. Could some one breifly explain how to use it and what that the purpose is of it? I issued echo $CDPATH but the output was nothing. Thanx Marcus (1 Reply)
Discussion started by: Fwurm
1 Replies
Login or Register to Ask a Question