tshark tutorial code example Example: tshark packet capture tutorial tshark -i wlan0 -w capture-output.pcap