[SGVLUG] Anti-virus progs for linux (was (no subject))
John E. Kreznar
jek at ininx.com
Sun Jul 30 00:13:27 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
"Erik Espinoza" <erik.espinoza at gmail.com> writes:
> On 7/29/06, Robert <mrflash818 at geophile.net> wrote:
> > robert at pip ~ sudo clamscan / -r | tee /tmp/clamscan.log
> What does 'tee' get you that '>' doesn't?
As its name suggests (it comes from plumbing), 'tee' sends its
standard input to two destinations, standard output and the named
file. So, what 'tee' gives in this example is that not only does the
clamscan output go to /tmp/clamscan.log as it would with '>', but it
also goes to the screen as it is produced. A frequent reason for
wanting to do this is if the process might take some time, and you
would like to monitor the progress (and maybe abort it if you don't
like it). Even if it goes fast, though, you might use this just to
both put the information on the screen for immediate study and save it
in a file for more processing.
- --
John E. Kreznar jek at ininx.com 9F1148454619A5F08550 705961A47CC541AFEF13
... who has not requested or consented to any political jurisdiction.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>
iD8DBQFEzFwUYaR8xUGv7xMRAg11AJ0YgRHk88B6qJjWkSkgaZD2iLqWQwCgiboR
sPSN0GbbgP/rkre+gazckqQ=
=FlQl
-----END PGP SIGNATURE-----
More information about the SGVLUG
mailing list