分享至
朋友圈
微信
qq空间
qq
微博
复制
#!/bin/sh ifconfig|grep "inet"|grep -o -E "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"|head -n 1