Ethereal-users: Re: [Ethereal-users] save to text file

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Tue, 29 Jan 2002 12:14:32 -0800 (PST)
> is there any way to save captured data to a text file in real time.

Yes.

It's called "tethereal". :-)

Do

	tethereal -l >text_file

or

	tethereal -V -l >text_file

which will run Tethereal in the mode where it prints the standard text
dissection of packets to its standard output (without "-V", it prints
the summary line; with "-V", it prints the full dissection of the
packet), with a "-l" flag to arrange that the output get written to the
file as soon as it's produced, and redirects the standard output to a
file.