修复 获取主机所有网络接口 的命令 (#121)

This commit is contained in:
Roles_le 2019-06-24 16:02:20 +08:00 committed by 小弟调调™
parent a8c812a5bb
commit 7b2c16c19b
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ default via 112.124.15.247 dev eth1
**获取主机所有网络接口**
```shell
ip link | grep ^[0-9] | awk -F: '{print $2}'
ip link | grep -E '^[0-9]' | awk -F: '{print $2}'
```
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->