Hi,
I am using following command:
tcpdump -i eth1 icmp[0] =8 >output.txt
i want this command to get execute for a minute only. How can we do this?
Thanks.
Hi,
I am using following command:
tcpdump -i eth1 icmp[0] =8 >output.txt
i want this command to get execute for a minute only. How can we do this?
Thanks.
Try this:
tcpdump -i eth1 icmp[0] =8 >output.txt &
sleep 60; kill $!
Thanks Subbeh.. its working perfectly the way i wanted.