摘要: 1、找出ifconfig“网卡名”命令结果中本机的IPv4地址 ifconfig| egrep -A1 ^eth0 | tail -n+2 | tr -s " " | cut -d" " -f 3 2、查出分区空间使用率的最大百分比值 df | tail -n+2 | tr -s " " % | c 阅读全文
posted @ 2021-09-19 12:48 陈强。 阅读(67) 评论(0) 推荐(0)