Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

If i execute some ksh like this in some other directory

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

Please advice.

share|improve this question

migrated from Jan 4 '12 at 20:57

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

Do you have the appropriate File Access Permissions(FAP) to the script file? – Als Jan 4 '12 at 9:00
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
@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
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

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

Your Answer


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