title: bash "command not found" - is my PATH wrong
body: <p>I'm using bash for the first time.  Wrote a code that is supposed to take "stats" as a command, but whenever I use "stats" in my command lines I kept getting the following error:</p>
  
  <pre><code>bash: stats: command not found
  </code></pre>
  
  <p>I googled around and a lot of people are saying this error is usually associated with PATH problems.  Running "echo $PATH" yields the following results: </p>
  
  <pre><code>/bin:/sbin:/usr/local/bin:/usr/bin:/usr/local/apps/bin:/usr/bin/X11:/nfs/stak/students/z/myname/bin:.
  </code></pre>
  
  <p>I made sure my program started with</p>
  
  <pre><code>#!/bin/bash 
  </code></pre>
  
  <p>Is my PATH wrong?  If so, how do I fix it?  If not, any suggestions on what else I should look into?  Thank you all for your time and help.</p>