Job Control

Nikolas Britton freebsd at nbritton.org
Mon Nov 22 04:49:18 PST 2004


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





More information about the freebsd-questions mailing list