Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-25-2003, 10:33 PM
|
#1
|
|
Member
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228
Rep:
|
Starting program with terminal
I know how to start a program with the terminal, but when I press ctrl-c to get prompt back the program kills.
How do I open a prog with the terminal and get back to prompt, without the program shutting down.
|
|
|
|
02-25-2003, 10:52 PM
|
#2
|
|
Member
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465
Rep:
|
do "info nohup" and see if that's what you're looking for.
|
|
|
|
02-25-2003, 10:55 PM
|
#3
|
|
Member
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228
Original Poster
Rep:
|
I did that but no avail.
How is this done?
|
|
|
|
02-25-2003, 11:14 PM
|
#4
|
|
Member
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465
Rep:
|
OK,how about "programname &"
|
|
|
|
02-25-2003, 11:27 PM
|
#5
|
|
Member
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228
Original Poster
Rep:
|
Thankyou Allen!!
|
|
|
|
02-25-2003, 11:31 PM
|
#6
|
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
Also you can do:
jobs
This will tell you what jobs are running in the background. If you want to bring them back to the foreground you can do:
fg %1
where 1 is the job number given by the jobs command. Maybe this is a little too much info but what the hell.
|
|
|
|
02-26-2003, 12:43 AM
|
#7
|
|
Member
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228
Original Poster
Rep:
|
Ahhhh what the hell, you can't ever know to much about linux.
Thanks guys, you were a great help.
|
|
|
|
02-26-2003, 01:42 AM
|
#8
|
|
Member
Registered: Feb 2003
Location: Helsingborg, Sweden
Distribution: Slackware
Posts: 52
Rep:
|
You can also use CTRL+Z if you started a program without the ampersand, however that will only suspend it and not put it in the background. Type bg after you suspend to resume the program in the background.
|
|
|
|
02-26-2003, 07:16 AM
|
#9
|
|
Moderator
Registered: Aug 2002
Posts: 10,695
|
If close the xterm with the programing running in the background it will terminate the program. You can always open up another terminal or switch consoles if not running x.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:44 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|