title: How to run .sh file on Windows 7 through Cygwin?
body: <p>I have to use a package on my <strong>Windows 7</strong> OS but the package comes only with the <code>.sh</code> file so I have to use bash and hence Cygwin to run on my machine. </p>
  
  <p>But I am kinda familiar with Windows but completely new to Cygwin and shell programming. </p>
  
  <p>Suppose I have a <code>run.sh</code> file in <code>/cygdrive/c/Users/myUserName/Desktop/software/myPackage/bin</code>, how should I run it in Cygwin? </p>
  
  <p>Downloaded Cygwin and in the terminal I navigate to that directory and type <code>run.sh</code> enter but it complains </p>
  
  <pre><code>$ run.sh
  -bash: run.sh: command not found
  </code></pre>
  
  <p>I am asking this because I generally understand in Windows you can just navigate to the directory and run the <code>.bat</code> file and that's it? </p>
  
  <p>How does this work for Cygwin? Any suggestion are highly appreciated!</p>