...
- $ tshark -r "filename"
- To write raw packet data to file
- $ tshark -i "eth0" -w "filename"
- To write raw packet data to file
NOTE: -w provides raw packet data, not text. If you want text output you need to redirect stdout (e.g. using '>'), don't use the -w option for this.