title: Error when starting script : No such file or directory while executing a shell script
body: <p>I've just encountered same issue as described at <a href="http://www.unix.com/shell-programming-scripting/84684-getting-no-such-file-directory-while-executing-shell-script.html" rel="nofollow">http://www.unix.com/shell-programming-scripting/84684-getting-no-such-file-directory-while-executing-shell-script.html</a></p>
  
  <p>Question by user : "I am getting : No such file or directory while executing a shell script. But i have that corresponding file in the corresponding path. It also have executable rights. "</p>
  
  <p>Answer : "Have you start your script with /directory/scriptname or ./scriptname?"</p>
  
  <p>This worked for, once I started the script using "./scriptname". I started this script on multiple servers and on some machines I could just use "scriptname" and on others I needed to use "./scriptname" Why is "./" required on some machines but not on others? On all machines the file permissions are the same.</p>