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

Please post all general support questions for LXDE here.
Locked
markowen
Posts: 4
Joined: Thu Oct 14, 2010 3:09 pm

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

Post 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
maces
Posts: 503
Joined: Sat Oct 25, 2008 6:04 pm
Contact:

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

Post 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
markowen
Posts: 4
Joined: Thu Oct 14, 2010 3:09 pm

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

Post by markowen »

wonderful!

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

thank you maces


marco
maces
Posts: 503
Joined: Sat Oct 25, 2008 6:04 pm
Contact:

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

Post by maces »

please make sure, the file is executable (via right click or chmod). Double click is working here.

maces
Locked