title: Execute .ksh file in Unix
body: <p>I have folder called QC, Inside that I have created a very basic script like below</p>
  
  <pre><code>#!/usr/bin/ksh
  
  #--------------------------
  # set program name
  #--------------------------
  PROGRAMNAME=Run_all_Qc
  
  #Remove old output file
      rm dhqc_notify_msg.tmp
  </code></pre>
  
  <p>I created .ksh file out this say qc.ksh in same folder, I have checked permission for this .ksh script I do have -rwxr-xr-x &amp; I executed like</p>
  
  <pre><code>./qc.ksh
  </code></pre>
  
  <p>I am getting this error </p>
  
  <pre><code>interpreter "/usr/bin/ksh" not found
  sh: ./qc.ksh:  not found
  </code></pre>
  
  <p>I am new to Korn shell scripts, I am struggling to understand this error (I am using tool WRQ reflection for UNIX and open VMS to execute).</p>