LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
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?

Regards
 
Old 03-26-2009, 01:44 PM   #2
AlucardZero
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?

Code:
./file.sh &
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration