Browse Source

ifconfig: correct placeholders (#14504)

Vansh Pandey 4 months ago
parent
commit
b9de5dc060
1 changed files with 8 additions and 8 deletions
  1. 8 8
      pages/common/ifconfig.md

+ 8 - 8
pages/common/ifconfig.md

@@ -3,22 +3,22 @@
 > Network Interface Configurator.
 > More information: <https://net-tools.sourceforge.io/man/ifconfig.8.html>.
 
-- View network settings of an Ethernet adapter:
+- View network settings of an interface:
 
-`ifconfig eth0`
+`ifconfig {{interface_name}}`
 
 - Display details of all interfaces, including disabled interfaces:
 
 `ifconfig -a`
 
-- Disable eth0 interface:
+- Disable an interface:
 
-`ifconfig eth0 down`
+`ifconfig {{interface_name}} down`
 
-- Enable eth0 interface:
+- Enable an interface:
 
-`ifconfig eth0 up`
+`ifconfig {{interface_name}} up`
 
-- Assign IP address to eth0 interface:
+- Assign an IP address to an interface:
 
-`ifconfig eth0 {{ip_address}}`
+`ifconfig {{interface_name}} {{ip_address}}`