On Sep 25, 2003, at 2:19 AM, Ching-Tung Lo wrote:


I'm using Tethereal to do a live capture ,and trying to pipe the output to another program
(the program is used to  translate the output into MYSQL database).
Here is my thought:
#tethereal  -l  |  ( program)
#tethereal  -l  > (program)
Which is better to Use  " | " or " >"  ?

If you're trying to pipe to another program, "|" is better because ">" doesn't pipe to another program, it sends the output to a file.


Reply via email to