Really need a quick help on this. This is the scenario. Created source directory
SOURCE :
/apps/application_scripts/intl/bin Here I have lot of shell scripts (*.sh)

TARGET :
/home/edwprod/intl/bin
Symbolic link:
ln -s /apps/application_scripts/intl/bin /home/edwprod/intl/bin

If i execute some ksh like this in some other directory
/home/edwprod/intl/bin/ex1.sh

It shows the error message not found [No such file or directory]

Please advice.

link|improve this question
1  
Do you have the appropriate File Access Permissions(FAP) to the script file? – Als Jan 4 at 9:00
1  
Does /home/edwprod/intl/bin exist prior to your ln -s command? – fge Jan 4 at 9:07
yes.. it exists already..due to space issue . i am moving to /apps path and providing symbolic links – AruM Jan 4 at 9:12
3  
@AruM: Like with cp, if the second argument of ln -s is existing directory, the link is created in the directory with name given by last component of the link target, so you probably have /home/edwprod/intl/bin/bin now. – Jan Hudec Jan 4 at 9:20
Yes great. I found this,but how do i correct this. Help me as this is urgent. – AruM Jan 4 at 9:22
show 2 more comments
feedback

migrated from stackoverflow.com Jan 4 at 20:57

This question came from our site for professional and enthusiast programmers.

1 Answer

Please try that:

cd /home/edwprod/intl/
mv bin  old-bin
ln -s /apps/application_scripts/intl/bin .
ls -l bin bin/

What does it display?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown