Dump network traffic with tcpdump to file with time-stamp in the filename
A one-liner that dumps the network traffic into a file with a time-stamp in its name:
date +'%Y-%m-%d_%H_%M-%Z' | xargs -I {} bash -c "sudo tcpdump -nq -s 0 -i eth0 -w ./tcpdump-{}.pcap"