First page Back Continue Last page Overview

 

Creating Shell Scripts cont.

 
  • Step 2: Make the script executable:

    • $ chmod a+x myscript.sh
  • To execute the new script:

    • Place the script file in a directory in the executable path -OR-
    • Specify the absolute or relative path to the script on the command line