摘要: 转载请注明地址:http://blog.csdn.net/kumu_LinuxAPNIC是管理亚太地区IP地址分配的机构,它有着丰富准确的IP地址分配库,同时这些信息也是对外开放的,whois3就可以在Linux帮助我们获取中国电信、网通、铁通的地址段:whois3 install=========================================================================# wget http://ftp.apnic.net/apnic/dbase/tools/ripe-dbase-client-v3.tar.gz# tar xf ripe 阅读全文
posted @ 2012-09-08 13:16 枯木-Linux 阅读(431) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bashwhile [ 1 ]do a=$(ifconfig eth0 | grep 'RX pac' | awk '{print $2}' | awk -F: '{print $NF}') echo -ne "$a\r" #不换行刷新数据doneecho参 数:-n 不要在最后自动换行 -e 若字符串中出现以下字符,则特别加以处理,而不会将它当成一般文字输出: \a 发出警告声; \b 删除前一个字符; \c 最后不加上换行符号; \f 换行但光标仍旧停留在原来的位置; \n 换行且光标移至行首; \r 光标移 阅读全文
posted @ 2012-09-08 10:34 枯木-Linux 阅读(550) 评论(0) 推荐(0) 编辑
摘要: ../libtool: line 838: X--tag=CC: command not found ../libtool: line 871: libtool: ignoring unknown tag : command not found ../libtool: line 838: X--mode=link: command not found ../libtool: line 1004: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 1005 阅读全文
posted @ 2012-09-08 10:32 枯木-Linux 阅读(333) 评论(0) 推荐(0) 编辑