From owner-freebsd-questions@FreeBSD.ORG Wed Apr 5 13:09:01 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7446316A401 for ; Wed, 5 Apr 2006 13:09:01 +0000 (UTC) (envelope-from nvidican@wmptl.com) Received: from wmptl.net (mail.wmptl.com [216.8.159.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF16343D69 for ; Wed, 5 Apr 2006 13:09:00 +0000 (GMT) (envelope-from nvidican@wmptl.com) Received: from [10.0.0.104] (r3140ca.wmptl.net [10.0.0.104]) by wmptl.net (8.13.4/8.13.4) with ESMTP id k35D8x8W088944 for ; Wed, 5 Apr 2006 09:08:59 -0400 (EDT) (envelope-from nvidican@wmptl.com) Message-ID: <4433C8FA.4080902@wmptl.com> Date: Wed, 05 Apr 2006 09:41:14 -0400 From: Nathan Vidican User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.54 on 10.0.0.80 Cc: Subject: re-attaching STDOUT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Apr 2006 13:09:01 -0000 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/