Re: [tcpdump-workers] how to call tcpudmp rightly in the sh script with tcpdump expression

2008-12-29 Thread Guy Harris
On Dec 28, 2008, at 5:30 PM, lijx wrote: The following call is wrong: -- #!/bin/sh parameters=" -s 96 \'ip host 192.168.0.80\'" tcpdump $parameters -n -w /opt/nec/wbmc/tcpdump/file.tmp The filter expression is not specified w

[tcpdump-workers] how to call tcpudmp rightly in the sh script with tcpdump expression

2008-12-29 Thread lijx
Hi tcpdump-workers, how to call tcpudmp rightly in the sh script with tcpdump expression(filter)? something confused me a lot. The following call is wrong: -- #!/bin/sh parameters=" -s 96 \'ip host 192.168.0.80\