摘要: 1、找出ifconfig “网卡名” 命令结果中本机的IPv4地址 [root@rocky8 ~]# ifconfig |head -2|tail -1|tr -s ' '|cut -d ' ' -f3 [root@rocky8 ~]# ifconfig |head -2|tail -1|cut - 阅读全文
posted @ 2022-04-03 11:35 fanxiutiandao 阅读(113) 评论(0) 推荐(0)