

InterviewSolution
Saved Bookmarks
1. |
Solve : linux /bin/sh? |
Answer» I have a script called "run.sh" I have another script called "start_run.pl" I used this these scripts 1000 TIMES and they worked perfectly But now I get an error In the start_run.pl script I have a command--------print SCRIPT "/home/peter/programs/run.sh when I run the "run.sh" script on the command line in linux it says bash: run.sh: command not found so I assume that is why the start_run.pl script is not working I know the ./run.sh works. But I would like to know how I can change it so that when I type run.sh WITHOUT ./ it would work becuase it worked before like that does it have to do with the /bin/sh (I have the right PERMISSIONS so its not that) does it have to be CONFIGURED again so that I can run a command without the ./ do you have any suggestions? Any help is greatly appreciated. |
|