title: How can I run executable in shell script?
body: <p>I have folder "destination/" and inside the destination folder, it contains executable grade1. My current directory is "destination/"</p>
  
  <p>I'm Trying to run</p>
  
  <pre><code>for i in FILES/*; do ./grade1 $i done
  </code></pre>
  
  <p>Which it keep says </p>
  
  <pre><code>./grade1 no such file or directory
  </code></pre>
  
  <p>Weird part is that, when I just copy the code to command line and run it, it works fine. Problem only arises when I do it in shell script</p>