Page 1 of 1

file .sh won't be executed...???

Posted: Thu Oct 14, 2010 7:12 pm
by markowen
I made the xx.sh file executable.
I installed Java libraries, because it has worked with them on ubuntu and on puppy (the latter is not a real os :| )
nothing happens...
what should I do?????

thankx

Re: file .sh won't be executed...???

Posted: Fri Oct 15, 2010 12:52 pm
by maces
Hi,

Open a terminal and type in:

Code: Select all

cd <yourdirectory>
sh <yourfile>.sh
that's it

make sure your file is executable, right click on the file and set the checkbox, or in terminal:

Code: Select all

chmod +x <yourfile>.sh
maces

Re: file .sh won't be executed...???

Posted: Fri Oct 15, 2010 8:08 pm
by markowen
wonderful!

(why did not work just with a double click???)

thank you maces


marco

Re: file .sh won't be executed...???

Posted: Sat Oct 16, 2010 7:22 pm
by maces
please make sure, the file is executable (via right click or chmod). Double click is working here.

maces