Ethereal-users: Re: [Ethereal-users] (no subject)

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, 28 May 2002 10:54:37 -0700
On Tue, May 28, 2002 at 01:00:53PM -0000, tushar  nerurkar wrote:
> In short, is there any cli command equivalent to the File--> 
> Print ( to a file and summary output--plain text format) of the 
> GUI version.

The command is

	tethereal -r {capture file name} >{text file name}

where "{capture file name}" is the name of the capture file you're
reading, and "{text file name}" is the name of the file to which you
want the text output to be written.

That will write the summary output (one line per packet).  If you want
the detailed output, then, as noted by another poster, use the "-V"
flag:

	tethereal -V -r {capture file name} >{text file name}