To print some network packets:
tshark [options] -r input.pcap.gz "Wireshark display filter" [-w output.pcap]
Useful options:
-r- file to read-w- file to write-2- two-pass analysis-P- print packet summary-V- print packet details (fields of dissected protocols)