LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   'simple' script help needed (start/stop program) (https://www.linuxquestions.org/questions/linux-software-2/simple-script-help-needed-start-stop-program-714632/)

powadha 03-26-2009 01:16 PM

'simple' script help needed (start/stop program)
 
Could someone help me out with a (for you I hope) simple script to do the following:

I have an .sh file which I can start from terminal but can't stop in a nice way. It runs a java application and it would be nice if I could start it and get control over the terminal again or start it using a script which makes it possible to kill the process. Any ideas how to do this userfriendly?

Regards

AlucardZero 03-26-2009 01:44 PM

Not sure what you mean. Use & to start it in the background?

Code:

./file.sh &


All times are GMT -5. The time now is 01:23 PM.