Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2002 19:22:03 +0100
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: background job
Message-ID:  <20020513182203.GB11079@icarus.slightlystrange.org>
In-Reply-To: <20020514010834.Q5034-100000@mtxgtw.mtxglobal.com>
References:  <20020513173117.86592.qmail@web21201.mail.yahoo.com> <20020514010834.Q5034-100000@mtxgtw.mtxglobal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 14, 2002 at 01:11:02AM +0700, Abdullah Koro wrote:
> Is it possible guys? because that is interactive command.
> AFAIK, only ssh command can send into background mode if you use -f
> parameter.
> Other guys can help?
> 
> regards,
> koro
> 
> On Tue, 14 May 2002, [iso-8859-1] adrian kok wrote:
> 
> > hi all
> >
> > how I do make scp is still working after I logout?
> >
> > I tried nohup scp
> > and
> > scp &

I'm not sure if it is possible as easily as that - try looking at some
of the more arcane options - particularly, setting ttys etc.

I would get round this using screen(1) - start the scp in one screen
window, then do whatever else you need in another, and screen -d when 
you are done.  You can then log off your original shell, leaving the 
sessions under screen(1) running until next time you log in.

Dan
-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020513182203.GB11079>