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-19-2004, 06:39 PM   #1
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Rep: Reputation: 30
Long lived processes...

How do I start a process on a linux machine and keep it running in the background? I tried opening a shell to a remote box and starting a process with the & but it is destroyed (defunct) when I kill the shell since that was it's parent, but I want to start a process on a machine and then logout and have it continue to run, how do I do that?
Old 03-19-2004, 07:40 PM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You can use the screen utility. It comes with most distributions and may even be installed already. It's really a very useful tool.

Old 03-19-2004, 07:47 PM   #3
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
Type 'nohup program-name' and that should work.


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
printf unsigned long long int? blackzone Programming 9 03-04-2008 01:41 PM
Too much processes barghota Linux - General 5 07-02-2005 10:40 AM
What are these processes doing? Dark Jedi Linux - Newbie 1 12-15-2004 08:44 AM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 02:58 AM
Short Lived Window Managers! AlanL Slackware 10 05-18-2004 12:21 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:38 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration