Wireshark-users: [Wireshark-users] how to run tcpdump on background
From: esolve esolve <esolvepolito@xxxxxxxxx>
Date: Tue, 2 Oct 2012 20:10:00 +0200
Hi,
I have a script where I want to run tcpdump and then immediately run another command
however, tcpdump will cause the shell pause/hang
so the following command lines will have no chance to run

even if I use &, it doesn't help
like

[root@ket capture]#  tcpdump -i eth0 -w temp &
[2] 32076
[root@ket capture]# tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes


it always switches to foreground even with &

are there any solutions for this
thanks!