title: Command not found error message when running script
body: <p>I'm learning how to make shell scripts in UNIX, but I keep coming across this stupid error. Let's say I make a script like this:</p>
  
  <pre><code>#!/bin/sh
  echo HELLO
  </code></pre>
  
  <p>I save the file as test, and make the command executable by me with chmod 700 test. I save the file in my home directory, and (attempt) to run the file like so:</p>
  
  <pre><code>./test
  </code></pre>
  
  <p>Only for UNIX to reply back:</p>
  
  <pre><code>./test: Command not found.
  </code></pre>
  
  <p>What is going on? When I type out ls -l, there is an asterisk next to the file name. That wasn't there before I used the chmod command. Can anyone tell me what I'm doing wrong?</p>