title: Linux shell script not found, but it does exist
body: <p>I created a shell script &quot;/etc/aaa&quot; on Openwrt which contains the following code:</p>
  <pre><code>    #!/bin/sh
      echo &quot;Hello World!&quot;
  </code></pre>
  <p>I also used this command to ensure the proper permissions:</p>
  <pre><code>chmod 777 /etc/aaa
  </code></pre>
  <p>Upon executing with any of the below 2 commands</p>
  <pre><code>sh /etc/aaa
  </code></pre>
  <p>or</p>
  <pre><code>ash /etc/aaa
  </code></pre>
  <p>it works well and prints &quot;Hello World&quot;. The problem occurs when I try to execute it with this command:</p>
  <pre><code>/etc/aaa
  </code></pre>
  <p>where I get this error:</p>
  <pre><code>-ash: /etc/aaa: not found
  </code></pre>
  <p>Can anyone please explain why this is happening? What am I missing here?</p>