摘要: shell脚本如下: #!/bin/bash #该脚本用于设置网卡的IP地址 #第一部分:变量的设置 ETH=$(ifconfig | grep "^eth" | awk '{print$1}') MAC=$(ifconfig | grep "^eth" | awk '{print$5}') rea 阅读全文
posted @ 2021-05-08 15:21 阜城小柳 阅读(1158) 评论(0) 推荐(0) 编辑