Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2002 15:44:35 -0400
From:      "Kliment Andreev" <klimenta@futurebit.com>
To:        <questions@FreeBSD.ORG>
Subject:   Re: question: sending to stdout AND file
Message-ID:  <000601c276de$ca641890$ca0110ac@vinyl.tkvbp.com>
References:  <Pine.LNX.4.44.0210181536530.18356-100000@janeway.vonbek.dhs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> One way is to use the tee command, e.g.:
> 
> [johnnyb@zappa johnnyb]$ ls | tee listing.txt
> 
> will send the results of the ls command to STDOUT and also to the file 
> listing.txt.


# man script




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?000601c276de$ca641890$ca0110ac>