Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Apr 2006 09:41:14 -0400
From:      Nathan Vidican <nvidican@wmptl.com>
To:        questions@freebsd.org
Subject:   re-attaching STDOUT
Message-ID:  <4433C8FA.4080902@wmptl.com>

next in thread | raw e-mail | index | archive | help
say one runs a command like so:

tar tvzpf _some_big_tar_file_will_take_hours_to_list.tgz &

then later I exit... leaving it running (note the '&')

How do I later return and grab the output still coming from that command; where 
does the output of a command left running in the background go to?

Can I re-direct the output of a given command so a specific ttyv on the machine 
itself from a remote command; ie redirect stdout for a given command to ttyv2 ?

(tar was just an example, should apply to _any_ command which gives output to 
STDOUT).


-- 
Nathan Vidican
nvidican@wmptl.com
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/



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