PDA

View Full Version : sending process in bg


hirohitosan
December 21st, 2008, 00:09
Hi there.
I want to connect to my server and start a download and after to close my ssh session. This will stop my download too?

It is possible to send the process in the background, log out and after a while log on again and see the status of my process?

I try installing screen and log into my server-> invoke screen -> start my download -> deattaching the download session -> log out

This will do the job or my download will be canceled?

thanks

Pushrod
December 21st, 2008, 01:57
What you said with screen will do what you want. I can't imagine life without screen to be honest.

ISPserver
December 22nd, 2008, 03:03
You can use 'screen' or 'nohup'

For screen you can connect to runnig shell and manage process.

And 'nohup' it's small programm for run process in background as daemon. You can connect to you process. You can see output in file or kill process.

ISPserver
December 22nd, 2008, 03:42
Hi there.
This will do the job or my download will be canceled?



You need disconnect from screen. Press ctrl-D and after logout.

SirDice
December 22nd, 2008, 08:06
I usually keep an irssi running in a screen. I can just pick up where I left off :)