nc是很好用的命令,可以用来模拟http请求
echo -e "GET /1.flv HTTP/1.0 Host: www.test.com " | nc www.test.com 80
这样,就能模拟http请求,向www.test.com的80端口请求,比较要注意的是 和 的使用