Date: Fri, 18 Oct 2002 14:54:16 -0500 From: "Jack L. Stone" <jackstone@sage-one.net> To: "David Smithson" <david@customfilmeffects.com>, <questions@FreeBSD.ORG> Subject: Re: question: sending to stdout AND file Message-ID: <3.0.5.32.20021018145416.01430940@mail.sage-one.net> In-Reply-To: <014101c276dd$4681b1f0$0801a8c0@customfilmeffects.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 12:33 PM 10.18.2002 -0700, David Smithson wrote: >Hi all. > >This question is not specifically FreeBSD related. > >How do I redirect output to a file *and* stdout simultaneously. My >particular want is to view the output of a script while also logging the >output to a text file. > >Thanks for your time. > >-- >David Smithson - Systems Administrator >Custom Film Effects (http://www.customfilmeffects.com) > How about: # script infile # captures to a file named "infile" ...then run your script and view output # exit # more infile # gives the same output..... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20021018145416.01430940>