How do I redirect a tcpdump output to a file?

Mỹ An

New member
How do I redirect a tcpdump output to a file?
Answer
Programs should by default write to stdout. Redirection to a file is already provided by the shell constructs.

…

What it does:
  1. -w – tells tcpdump to write binary data to stdout.
  2. tee writes that binary data to a file AND to its own stdout.
  3. -r – tells the second tcpdump to get its data from its stdin.
25 февр. 2017 г.
 

Tìm kiếm

Back
Top