Job Control

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Nov 22 07:44:36 PST 2004


On Mon, Nov 22, 2004 at 06:49:15AM -0600, Nikolas Britton wrote:

> 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?):

If all you want to do is inspect the output from your command, then
simply use script(1) to save a transcript of the output.  script(1)
comes with the system.  Use it like this:

    % cd /usr/ports/x11/xorg
    % script /tmp/make.out  sudo make install

And /tmp/make.out will contain a transcript of everything that appears
on your screen during the course of doing that job.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041122/1b656479/attachment.bin


More information about the freebsd-questions mailing list