返回顶部
摘要: Sed网卡取IP [root@centos8 ~]#ifconfig ens160|sed -n '2p'|sed 's/^.*inet //'|sed 's/ .*//' [root@centos8 ~]#ifconfig ens160|sed -rn '2s/^([^0-9]+)([0-9.]+ 阅读全文
posted @ 2020-08-11 20:43 九尾cat 阅读(1265) 评论(0) 推荐(0) 编辑