Running a shell script
You can execute a shell script using the methods described in this topic.
- Invoke another shell with the name of your shell script as an argument:
- Load your script as a dot file into the current shell:
to make the shell script executable, and then invoke it, like this:
chmod 744 myscript ./myscript
In this instance, your shell automatically invokes a new shell to execute the shell script.