On Thu, 20 Apr 2000, Minh Van wrote:

> > What you want is this
> > 
> >     tcpdump -i ppp0 | tee -a /tcpdump.log
> > 
> > This will show you the output on the screen AND save it in the file
> > /tcpdump.log
> 
> why doesn't it work then ?

Define doesn't work?

How long do you run the command? If it's a short time, I/O buffering
may be getting in your way.

What happens when you run

    echo hello | tee -a /tmp/hello

That works for me. Are you giving tcpdump the correct arguments?

Regards
Peter
----------
Peter Samuel                                [EMAIL PROTECTED]
Technical Consultant                        or at present:
eServ. Pty Ltd                              [EMAIL PROTECTED]
Phone: +61 2 9206 3410                      Fax: +61 2 9281 1301

"If you kill all your unhappy customers, you'll only have happy ones left"

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to