How to run .sh files in Ubuntu or Linux

Consider you have a script named “myScript.sh” and is in the home directory.
Now open “Accessories -> Terminal” and type:

chmod o+x myScript.sh

then

./myScript.sh

Your script will start running.
Done.

Leave a Reply

Your email address will not be published. Required fields are marked *