title: Running .ksh Scripts from Solaris KornShell
body: <p>I have developed a few KornShell (ksh) scripts to run on Solaris. I run the scripts over Putty. On one server, I am able to run them as follows:</p>
  
  <pre><code>$ script.ksh
  </code></pre>
  
  <p>On the other, server, I need to run them as follows:</p>
  
  <pre><code>$ ./script.ksh
  </code></pre>
  
  <p>Otherwise I get a script.ksh not found error.  What would cause this difference?  I call scripts from within this script, and do not want to have to change all the scripts to append './' to each script invocation in order to get the scripts working.</p>
  
  <p>Both servers uname -a reports following:</p>
  
  <pre><code>$ uname -a = SunOS servername 5.10 Generic_147440-10 sun4u sparc SUNW,Sun-Fire-V245
  $ echo $SHELL = /bin/ksh
  </code></pre>