Cellphonesguide.net
Login or Register to remove ads! You're browsing our forum and website as a Guest meaning you can only see a portion of the forum in read-only mode.
Android Android Games iOS iPhone Samsung Galaxy Google Pixel OnePlus Huawei Xiaomi
Discord Social FB Group Games Ask a Question Apps

How do I run .sh files in Terminal?

TelVerde

  • Material Design addicted
  • ***
  • 170
How do I run .sh files in Terminal?
« on: March 19, 2015, 09:35:12 AM »
* Right click on your .sh file and "Copy Path(s)"
Ctrl+T and open your terminal:

1. Give execute permission to your script:

chmod +x /path/to/yourscript.sh


2. And to run your script:

/path/to/yourscript.sh