shell获取ip时间:2022-03-01 09:38:17 ifconfig -a|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d "addr:"