Wireshark mailing list archives

how to run tcpdump on background


From: esolve esolve <esolvepolito () gmail com>
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!
___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe

Current thread: