1 Reply Latest reply on Sep 16, 2011 10:14 AM by Bill Robinson

    Execute .nsh file



         How to execute .nsh file in putty.


      Vipin Tripathi

        • 1. Execute .nsh file
          Bill Robinson

          do you mean when logged into a system, how do you run a nsh script?  putty is a ssh client, and there are many others.



          you need to have nsh installed on the system that is trying to run this script.  you have a couple options:


          nsh <scriptname>


          or, make sure the first line of the script has '#!/bin/nsh' and chmod the script so it has execute for the user running the script (eg chmod 755 <script> would give owner, group and world execute) and then ./script would run it from the cwd.