Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-26-2009, 02:16 PM   #1
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
'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?

Old 03-26-2009, 02:44 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Not sure what you mean. Use & to start it in the background?

./ &


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
simple telephone program needed pusrob Linux - Software 1 05-22-2006 09:09 AM
simple script needed drum2jc Linux - Software 1 01-05-2006 01:28 AM
need a perl script to stop & start program cccc Programming 43 07-23-2005 08:27 PM
java, simple program help needed.. marlor Programming 1 11-04-2004 03:40 PM
simple backup script needed ferret_dude Programming 4 05-24-2004 09:45 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration