Wireshark-users: Re: [Wireshark-users] Installing wireshark on MacOS Catalina via brew
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 10 Mar 2020 17:20:18 -0700
On Mar 10, 2020, at 3:38 PM, varun siripurapu <varunsiripurapu@xxxxxxxxx> wrote:

> How do I exit out of tcpdump which is passing the packets to wireshark without closing wireshark application?
> 
> `varuns@varuns ~ %  "tcpdump -c 30 -s 0 -U -n -w - -i et3_5_1" | wireshark -k -i -

Don't run tcpdump in the first place; just do

	wireshark -k -i et3_5_1 -c 30

Note: -s 0 is unnecessary in macOS's tcpdump (and in most recent versions of tcpdump), as well as in Wireshark, and -n is unnecessary if you're using tcpdump to write to a capture file.