2022年4月22日

【shell】shell脚本获取linux所有网口及连接状态

摘要: 工作上需要配置管理多个服务器,而服务器上基本上都接着有多根网线。 以前通过ethtool 网卡名称单个查询,操作比较重复且容易“吐血” [root@server01 /]# ethtool enp4s0f0 Settings for enp4s0f0: Supported ports: [ FIBR 阅读全文

posted @ 2022-04-22 15:11 卓某 阅读(1253) 评论(0) 推荐(0) 编辑

导航