Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
1  
Do you have the appropriate File Access Permissions(FAP) to the script file? –  Als Jan 4 '12 at 9:00
1  
Does /home/edwprod/intl/bin exist prior to your ln -s command? –  fge Jan 4 '12 at 9:07
    
yes.. it exists already..due to space issue . i am moving to /apps path and providing symbolic links –  AruM Jan 4 '12 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 '12 at 9:20
1  
You should do ln -s /apps/application_scripts/intl/bin/* /home/edwprod/intl/bin if I guess your intention correctly –  fge Jan 4 '12 at 9:38
show 2 more comments

migrated from stackoverflow.com Jan 4 '12 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?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.