ifconfig Command Generator
Generate ifconfig commands to inspect network interfaces
Getting Started with ifconfig
## What is ifconfig?
`ifconfig` lists and configures network interfaces — their IP addresses, MAC, MTU, and packet counters. Run with no arguments to see all active interfaces.
## How to Use
1. **Pick an Interface** (optional): e.g. `eth0` to view one. 2. **Toggle Flags**: `-a` to include inactive interfaces. 3. **Copy & Run**: paste the generated command into your terminal.
Flags & Patterns
``` ifconfig ifconfig -a ifconfig eth0 ```
### Common flags - `-a` — show all interfaces, including those that are down - `-s` — short summary (like `netstat -i`) - an interface name — show only that interface
### Tips - `ifconfig` (no flags) shows active interfaces; add `-a` to see disabled ones too. - On modern Linux, `ip addr` is the successor, but ifconfig is still everywhere.
▶How do I see all interfaces, including disabled ones?
▶How do I view just one interface?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee