I want to pipe the output of following command to a text file for further processing.Please let me know how to do the same.. tshark -r <mypcap> -Tfields -e ip.src -e ip.dst 10.10.10.10 1.1.1.1 2.2.2.2 3.3.3.3 16.1.1.1 11.11.11.1 I want to pipe this output to a text file what field to add to the command Thanks asked 21 Jun '13, 18:33 krishnayeddula |
One Answer:
For either Linux or Windows, just add ">" to the end of the command and name a file to save it to: 'tshark -r {file.pcap} -Tfields -e ip.src -e ip.dst > file.txt' answered 21 Jun '13, 18:47 Quadratic edited 21 Jun '13, 18:49 |