while true; do ( echo "HTTP/1.0 200 Ok"; echo; echo "test is ok" ) | nc -l -p 8080; done
nc简单创建测试端口监听
于 2024-05-13 13:38:22 首次发布
while true; do ( echo "HTTP/1.0 200 Ok"; echo; echo "test is ok" ) | nc -l -p 8080; done