Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm fairly new to lubuntu and had planned to run my mine craft server on it. The problem is that I can not run sh files. The window just flashes when I run with

lxterminal - command" /home/[username]/[server folder]/craftbukkit.sh

Help!

share|improve this question
    
Does the script have a #!/bin/bash as the first line? –  WebWeasel Dec 20 '12 at 19:49
add comment

2 Answers 2

Go to that folder and make it executable:

chmod -c +x craftbukkit.sh

Then execute it as:

bash craftbukkit.sh

or

./craftbukkit.sh
share|improve this answer
add comment

Not sure about lxterminal but to run most shell scripts from a terminal window you would

sh ./shellscript.sh

or

chmod +x ./shellscript.sh
./shellscript.sh
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.