hello
I need to do a filter in tshark that returns all the tcp destination ports for all packets with just the tcp SYN flag active.
Something like this

tshark -r infile.pcap -T fields -e tcp.dstport && tcp[13]=2 > outfile.txt

I try this one but the outfile comes empty.

Can someone help me??
thanks.