how to capture a given number of packets(say hundred) into a file using tcpdump command?
#tcpdump -w file.cap
It saves all the packets into the file file.cap
but I want to save only first 10 packets
HOw to do it using tcpdump?
thanks in advance.