围绕“面试”、“算法”、“编程”三个主题:

http://blog.csdn.net/v_JULY_v


shell方面总结的比较好:

http://www.cnblogs.com/stephen-liu74/archive/2011/11/01/2202027.html


程序人生方面:

http://syc001.iteye.com/blog/1297741

http://www.iteye.com/topic/1118807

CMD命令大全

http://daojin.iteye.com/blog/1300709

http://www.iteye.com/topic/1118798

http://java-mzd.iteye.com/blog/848635

http://www.iteye.com/topic/1118707

http://robbin.iteye.com/

http://www.tetx.com/program/htm/tetx/blog/list/tag_name/wget/index.htm


如何获取我的外部 ip?

http://www.tetx.com/program/htm/tetx/blog/list/tag_name/wget/index.htm

简单至极:

URL="http://whatismyip.org/"

curl -s $URL || wget -qO- $URL || lynx -dump $URL || w3m -dump $URL

当然,也有复杂的办法:

w3m -dump http://www.ip138.com/ip2city.asp|awk -F"[" '{print $2}'|awk -F"]" '{print $1}

或者:

w3m -dump http://myip.cn|egrep '[0-9]\.[0-9]+\.[0-9]+\.[0-9]+'|tr -d "您的IP地址: "

w3m -dump http://myip.cn|egrep '[0-9]\.[0-9]+\.[0-9]+\.[0-9]+'|awk '{print $2}'


相关文章:

  • 2021-09-15
  • 2021-08-02
  • 2021-07-31
  • 2022-12-23
  • 2021-05-16
  • 2022-02-09
  • 2021-11-13
  • 2021-06-14
猜你喜欢
  • 2021-12-04
  • 2021-08-25
  • 2021-11-10
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
相关资源
相似解决方案