标签:服务 ble 服务器ip sed conf eth0 key ifconfig class
$ip_cmd = "ifconfig eth0 | sed -n ‘/inet addr/p‘ | awk ‘{print $2}‘ | awk -F ‘:‘ ‘{print $2}‘";
$ret = trim(exec($ip_cmd));
标签:服务 ble 服务器ip sed conf eth0 key ifconfig class
原文地址:http://www.cnblogs.com/xiaochongzi/p/6708000.html