• #作业一

    netstat -ant | sed 1,2d | awk '{print$6}' | sort | uniq

    #作业二

    curl -s https://testerhome.com 2>/dev/null | grep -b1 "fa fa-diamond" | grep -o "/topics/[0-9]*"| while read line; do num=`curl -s https://testerhome.com$line 2>/dev/null | grep -m1 "共收到"|awk -F "<|>" '{print$3}'`;echo  https://testerhome.com$line $'\n' 回复数:$num;done    
  • 周日的课是全部实战吗?