提取IP并生成文件


touch `ifconfig |grep inet|awk -F "[: ]+" '{print $3}'|head -n1`