From 3cbd821a19dff4d2b53c912f6fd2e12cdbc8b1e3 Mon Sep 17 00:00:00 2001 From: "ithink.chan" Date: Tue, 28 Apr 2020 14:13:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20Linux=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E7=BD=91=E5=85=B3=E3=80=81=E5=AD=90=E7=BD=91=E6=8E=A9=E7=A0=81?= =?UTF-8?q?=E5=92=8C=20IP=20=E5=9C=B0=E5=9D=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ithink.chan --- .../System/Linux/Linux_查看网关_子网掩码和_IP_地址.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Software/System/Linux/Linux_查看网关_子网掩码和_IP_地址.md diff --git a/Software/System/Linux/Linux_查看网关_子网掩码和_IP_地址.md b/Software/System/Linux/Linux_查看网关_子网掩码和_IP_地址.md new file mode 100644 index 0000000..778449b --- /dev/null +++ b/Software/System/Linux/Linux_查看网关_子网掩码和_IP_地址.md @@ -0,0 +1,10 @@ +# Linux查看网关、子网掩码和 IP 地址 + +```sh +# 查看网关和子网掩码 +route -n +netstat -r +# 查看 IP 地址等 +ifconfig +ip a +```