How Do I Run a Unix Script in Putty?
Contents

How do I run a Unix file in PuTTY?

The procedure to run the .sh file shell script on Linux is as follows:

  1. Open the Terminal application on Linux or Unix.
  2. Create a new script file with .sh extension using a text editor.
  3. Write the script file using nano script-name-here.sh.
  4. Set execute permission on your script using chmod command : …
  5. To run your script :

How do I run a script in PuTTY?

Automating command/script execution using PuTTY

  1. Open putty.exe.
  2. Enter username and password.
  3. Run a shell script.
Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest