LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-26-2009, 01:16 PM   #1
powadha
Member
 
Registered: Nov 2003
Distribution: Debian SID
Posts: 649

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?

Regards
 
Old 03-26-2009, 01:44 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,598

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

Code:
./file.sh &
 
  


Reply


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 08:09 AM
simple script needed drum2jc Linux - Software 1 01-05-2006 12:28 AM
need a perl script to stop & start program cccc Programming 43 07-23-2005 07:27 PM
java, simple program help needed.. marlor Programming 1 11-04-2004 02:40 PM
simple backup script needed ferret_dude Programming 4 05-24-2004 08:45 AM


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

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