mac地址对应的厂商
本文地址:http://dsyn.tongxinmao.com/Article/Detail/id/187
http://blog.csdn.net/dxt1107/article/details/40784351
wget http://standards.ieee.org/develop/regauth/oui/oui.txt
压缩包下载:
http://download.csdn.net/download/bona020/9894384
cat oui.txt |grep hex|awk '{print $1 " : " $3}'> result.txt
vendor_list="Apple Huawei meizu Smartisan acer Dell \
Samsung Lenovo Hasse Vivo Tcl Gionee Asus Zte \
oppo sony htc xiaomi Lg hisense Sharp veb Motorola \
Vivotek Fujitsu OnePlus Philips Konka Gionee Yulong Toshiba \
Haier Coship"
for i in $vendor_list
do
echo "#start $i"
cat result.txt |grep "$i" -i |awk '{print $1}'|wc -l
#cat result.txt |grep "$i" -i |awk '{print $1}'
echo "#end $i"
done上一篇:win7管理员权限的动态运行时请求
下一篇:VCL多线程 TTHREAD