Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Sunday, 10 November 2013

How to run .sh file in Ubuntu command prompt

Give execute permission to your script

Example:

chmod +x /path/to/yourscript.sh


And to run your script

Example:

bash /path/to/yourscript.sh