1829516 Members
1334 Online
109991 Solutions
New Discussion

Re: directory error

 
SOLVED
Go to solution
Rob O'Connor
Advisor

directory error

Hey everyone:
One of the user created a temp directory last week when he cd to the directory he receives error:
ksh: temp: not found
I cd to the the directory and receive the same message. Any ideas?
Thanks, much appreciated.
5 REPLIES 5
Patrick Wallek
Honored Contributor
Solution

Re: directory error

What do you see if you do an 'll -b'? I would suspect that you have some sort of unprintable character in the directory name, something like a backspace probably.

Umapathy S
Honored Contributor

Re: directory error

Check the name of the dir again. There may be some control chars embeded in the dir name. This happens when we accidently type control chars for mkdir.

try above the temp dir

ls >tmp.out

See in tmp.out any control chars embeded in temp.

HTH
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Helen French
Honored Contributor

Re: directory error

Go to the parent directory and post the output of:

# ls -al

Is the directory exist now? Are you giving complete path? Is there any extra (hidden) characters in the dir_name?
Life is a promise, fulfill it!
Paul Sperry
Honored Contributor

Re: directory error

try cd tem*
Rob O'Connor
Advisor

Re: directory error

Thanks, all of you are right on the money. Was a backspace after te in temp.