增加 Linux查看网关、子网掩码和 IP 地址.
Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
parent
f0bd5b2623
commit
3cbd821a19
|
@ -0,0 +1,10 @@
|
|||
# Linux查看网关、子网掩码和 IP 地址
|
||||
|
||||
```sh
|
||||
# 查看网关和子网掩码
|
||||
route -n
|
||||
netstat -r
|
||||
# 查看 IP 地址等
|
||||
ifconfig
|
||||
ip a
|
||||
```
|
Loading…
Reference in New Issue