(1) Make sure it is allowed to execute. Right click on it and set, on the "Permissions" tab, the checkbox that reads "Execute... allow executing file as a program". Alternatively, use the following command line:
chmod +x filename.sh
(2) Execute it by either double clicking on it, or using the command line. Below is the command.
sudo ./filename.sh
No comments:
Post a Comment