Results 1 to 3 of 3
Hi,
I have a question, need your suggestions. We have programs those can be call to operate in background like this:
$] prog &
Then it can run in background ...
- 02-22-2008 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 14
start an program background
Hi,
I have a question, need your suggestions. We have programs those can be call to operate in background like this:
$] prog &
Then it can run in background mode of one shell. However, some programs will survival when we close the shell, but some programs won't.
I don't know why that is.
And then, would you tell me how to perform any program in background mode and that program still running even when the shell is closed ?
Thank you.
aa
- 02-22-2008 #2Linux Newbie
- Join Date
- Nov 2007
- Location
- Planet Earth
- Posts
- 152
I think the easiest way is to use the 'screen' program... e.g. when you need to perform a remote access to another machine to run a long process... once logged in, you can start a screen, it will open a shell that can be used normally, so when you have the-long-process running, Ctrl + A, D detach the shell and you can do anything else (even logout from your remote session)... more info here GNU Screen: an introduction and beginner's tutorial || kuro5hin.org
HugoEOF
- 02-23-2008 #3Just Joined!
- Join Date
- Apr 2007
- Posts
- 14
nice tool from GNU, I'm going to try it.
Thank you very much.
aa


Reply With Quote