Job Control

Martin Hepworth martinh at solid-state-logic.com
Mon Nov 22 04:55:46 PST 2004


Nikolas

yes screen will do that, detach first before logout, then re-attach when 
you want o get back to that session. Also no need to background the job, 
as screen will just keep the job running after detach anyway..

--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300


Nikolas Britton wrote:
> Martin Hepworth wrote:
> 
>> Nikolas
>>
>> Presumably you've also nohup -ed the background job too....:-)
>>
>> anyway have a look at 'screen' to give you virtual terminals that you 
>> drop out of and back into when you want to.
>>
>>
>> -- 
>> Martin Hepworth
>> Snr Systems Administrator
>> Solid State Logic
>> Tel: +44 (0)1865 842300
>>
>>
> I've play a bit with screen but I don't think it will work for my 
> problem so let me restate it. Lets say I wanted to buildworld, build a 
> port, cvsup, portupgrade, etc. but forgot to do it before I left for 
> school, work, or wherever so I ssh into my box and do #foobar& etc. and 
> then exit, then when I get back home I want to see what happened. I 
> guess it just goes to show that there's always a solution to a problem, 
> you just have to look at it from another angle (can you thing of any 
> other solutions btw?):
> 
> 
> $ ssh localhost
> Password: ****
> Last login: Mon Nov 22 06:13:59 2004 from localhost
> Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
>        The Regents of the University of California.  All rights reserved.
> 
> FreeBSD 5.3-RELEASE-p1 (SPECTRA) #0: Sat Nov 20 23:30:17 CST 2004
> 
> Welcome to FreeBSD!
> 
> $ su
> Password: ****
> spectra# cvsup -g -L 2 /root/ports-supfile > /root/ports-supfile.log&
> [1] 71669
> spectra# exit
> exit
> $ exit
> Connection to localhost closed.
> $ tail /root/ports-supfile.log
>  Add delta 1.25 2004.11.21.22.03.48 marcus
> Edit ports/x11-toolkits/py-gnome2/Makefile
>  Add delta 1.78 2004.11.20.17.18.17 kwm
> Edit ports/x11-toolkits/py-gnome2/distinfo
>  Add delta 1.28 2004.11.20.17.18.17 kwm
> Edit ports/x11-toolkits/py-gnome2/pkg-plist
>  Add delta 1.31 2004.11.20.17.18.17 kwm
> Updating collection ports-x11-wm/cvs
> Shutting down connection to server
> Finished successfully
> $ exit
> 
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"

**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.

**********************************************************************



More information about the freebsd-questions mailing list