From 5ccd89309bcd80e86941c800a07f54777c6cca1f Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 30 Apr 2020 13:50:51 +0100 Subject: [PATCH] ip address: use a specific network interface example (#3987) --- pages/linux/ip-address.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/linux/ip-address.md b/pages/linux/ip-address.md index 6fc3f7517e..335f442012 100644 --- a/pages/linux/ip-address.md +++ b/pages/linux/ip-address.md @@ -12,16 +12,16 @@ - Display information about a specific network interface: -`ip address show dev {{network_interface}}` +`ip address show dev {{eth0}}` - Add an IP address to a network interface: -`ip address add {{ip_address}} dev {{network_interface}}` +`ip address add {{ip_address}} dev {{eth0}}` - Remove an IP address from a network interface: -`ip address delete {{ip_address}} dev {{network_interface}}` +`ip address delete {{ip_address}} dev {{eth0}}` - Delete all IP addresses in a given scope from a network interface: -`ip address flush dev {{network_interface}} scope {{global|host|link}}` +`ip address flush dev {{eth0}} scope {{global|host|link}}`