From owner-freebsd-questions Wed Oct 24 8:13:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 9CD1D37B405 for ; Wed, 24 Oct 2001 08:13:46 -0700 (PDT) Received: from sageone (ppp-208-191-234-236.dialup.crchtx.swbell.net [208.191.234.236]) by sage-american.com (8.9.3/8.9.3) with SMTP id KAA17980; Wed, 24 Oct 2001 10:13:37 -0500 (CDT) Message-Id: <3.0.5.32.20011024101334.00f32018@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 24 Oct 2001 10:13:34 -0500 To: "Roubicek, Zdenek" , freebsd-questions@FreeBSD.ORG From: jacks@sage-american.com Subject: Re: Finding proper command In-Reply-To: <31FD3FA70CBED31189E700508B64017188AF7A@ntexgpra01> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm not completely sure if I understand the entire need here, but output from commands run can be captured a couple of ways: One way: # script "filename" # then run command here # "exit" to stop script. Your output is captured in "filename" Another way: #command > "filename" Hope that is close to your need.... At 03:55 PM 10.24.2001 +0200, Roubicek, Zdenek wrote: > >Hello > >I have run into a problem where I need to capture all the text which comes >out on screen. I know I can do that with tee but! Is there any other option >which would give me a possibility to attach/detach this logging to file as I >want to? > >Something simmilar to screen and the way you can connect and disconnect >whenever you want to. > > >rouba > >Zdenek Roubicek >KPNQwest Czechia s.r.o. >Tel : +420 602-386386 >Fax : +420 2 81081082 >Gen. Janouska 902, 190 00 Prague 9 >---------------------------------- >rouba@eunet.cz > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message