Bash脚本里面发送udp网络包

October 01, 2018 | 0 Minute Read

bash 发送udp数据包

echo -n "hello" > /dev/udp/192.168.56.1/8000
echo -n "$1" | nc -4u -w1 $HOST $PORT