title: command not found in bash-3.2$
body: <p>I tried running a script file using bash but it showed an error</p>
  
  <p>bash-3.2$ example.sh : command not found</p>
  
  <p>I also tried 
  ls -l example.sh</p>
  
  <p>I found that it was not executable, so I used
   sudo chmod 777 example.sh </p>
  
  <p>I again tried running it but same error was coming. I double checked that I am in the same folder as the file using ls. But still I am not able to execute the script file.</p>
  
  <p>I finally tried making a dummy script file and running it , and found the same error</p>
  
  <p>I think there is some problem with BASH. Can some one help me with what is the problem?</p>
  
  <p>I am working on redhat, bash was already installed in my system</p>
  
  <p>Since I am newbie on linux any help would be appreciated</p>