This is our old Q&A Site. Please post any new questions and answers at

Hi, I am running following command with tshark 1.8.2

tshark -nr 2calls.pcap -Y "ip.src eq || ip.dst eq " -w final.cap

But always encounter this type of error.
tshark: invalid option -- 'Y'

Running tshark -h does not show display filter option. I tried installing tshark 1.12 on my debian (Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux) but no luck, a lot of dependencies are involved there.

How can i run the above command or install tshark 1.12 on my debian server?

Any help would be much appreciated. Thanks

asked 29 Jul '15, 12:57

aqsyounas's gravatar image

accept rate: 0%

The command you provided works on TShark 1.12.5

permanent link

answered 29 Jul '15, 13:12

Amato_C's gravatar image

accept rate: 14%

Thanks for reply. So, any alternative command working in 1.8.2 giving above results?

(29 Jul '15, 13:36) aqsyounas

Try to -R option = that is a capital R

(29 Jul '15, 13:44) Amato_C
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 29 Jul '15, 12:57

question was seen: 3,476 times

last updated: 29 Jul '15, 13:44

p​o​w​e​r​e​d by O​S​Q​A