On Friday 09 March 2001 07:44, you wrote:
> tail -f /var/log/syslog | grep "foobar" > foobar.txt | mailfile foobar.txt
> [EMAIL PROTECTED]
Well, the first reason this won't work as written is because of your use of
'tail -f' rather than plain 'tail'. 'tail -f' is basically 'tail forever',
and s
Would anyone happen to know how to use the tee command?
I have written a shell script call mailfile and I was trying to do something
like this:
tail -f /var/log/syslog | grep "foobar" > foobar.txt | mailfile foobar.txt
[EMAIL PROTECTED]
however that doesn't work like I thought it would. I lo