copying standard input to standard output

Malcolm Kay malcolm.kay at internode.on.net
Sun Nov 13 05:47:47 GMT 2005


On Sun, 13 Nov 2005 04:01 pm, Noah wrote:
> Hi there,
>
> I am wanting to copy standard output to a file.
>
> I know that 'tee' will do this fine.
>
> blah | tee it
>
> but I am find that on some occasions processes will not output
> when pipping to tee.
>
> other than screen what are some applications that could
> capture standard output and dump to a file?
>
Could be that the output you're looking at is not stdout but 
stderr.

If you using csh (or tcsh) shell then try:
% blah |& tee it

Malcolm

> cheers,
>
>
> Noah
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list