[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: detaching a process from an ssh session ??



On Thu, 2004-06-24 at 17:32, Zenaan Harkness wrote:
--snip--
> You see, I want to be able to log in from my laptop, start a
> long-running process, and exit while the process continues.
> 
> I thought one of the above should have worked too.
> 
> If anyone knows a simple solution, please holler with an example command
> line.

This sounds like a job for 'screen'! Faster than a quad-processor P4,
more powerful than a Radeon 9800, able to start, background, and detach
a process in a single command, it's 'screen'! It slices, it dices...
ok... I'll stop now. :)

apt-get install screen
ssh mymachine
screen processToRun
C-a, C-d
logout

If you want to come back to it later:

ssh mymachine
screen -r

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: