This document provides common usage scenarios for the NetUtil TUI application.
- Launch the app:
cargo run --release - Press
/to enter search mode - Type
wlanorwifioren0(depending on your system) - The table will filter to show matching interfaces
- Press
Escto exit search mode
- Navigate to your primary network interface using
↑/↓arrows - Press
Ctrl+ito copy the IP address to clipboard - You'll see a confirmation message: "Copied IP Address to clipboard"
- Paste it anywhere you need (it's in your clipboard)
- Press
/to search - Type
192.168to find all interfaces in the 192.168.x.x range - Or type
10.to find 10.x.x.x addresses - Navigate through results with arrow keys
- Press
srepeatedly until the "Status" column is highlighted - All interfaces will be sorted by their UP/DOWN status
- Press
sagain to reverse the sort order (use the ▲/▼ indicator)
- Launch the app to see the main table
- Look at the "DNS Servers" column (rightmost)
- You'll see all configured DNS servers for your system
- To copy DNS info, select any row and press
Ctrl+dfor more options
- If you have many virtual interfaces or VPNs, use pagination:
Ctrl+d- Jump down one pageCtrl+u- Jump up one pageg- Jump to the first interfaceG- Jump to the last interface
- The status bar shows your current page number
- Navigate to first interface of interest
- Press
cto copy its name - Paste in a note or terminal
- Navigate to next interface
- Press
Ctrl+ito copy its IP - Repeat for all interfaces you want to compare
- Make a note of current interface states
- Make a change outside the app (connect to VPN, enable WiFi, etc.)
- Press
rin the app to refresh - See the updated interface list
- Press
sto sort by "MAC Address" column - All similar MAC addresses (same vendor) will be grouped
- Select the interface you need
- Press
Ctrl+mto copy the MAC address
- Press
?at any time to see the help menu - Scroll through all available keyboard shortcuts
- Press
Escorqto return to the main view
- If you remember part of an IP address (e.g., "192.168.1")
- Press
/and type that partial IP - Only matching interfaces will be shown
- Search is case-insensitive and supports partial matches
- Look for interfaces with names like:
docker0- Docker bridgeveth*- Virtual Ethernet (Docker containers)tun*/tap*- VPN interfacesbr-*- Network bridgesvirbr*- Virtual machine bridges
- Use search to filter:
/dockeror/veth
Before modifying network settings:
- Press
rto ensure you have current data - Navigate to the interface you want to modify
- Press
cto copy the interface name - Note the current IP, subnet mask, and status
- Press
eto start editing IP address - The app will show you what command would be executed
- Press
Escto cancel (default safe mode)
If you have Ethernet, WiFi, and VPN all active:
- Sort by "Status" to see all UP interfaces first
- Or search for each type:
/ethfor Ethernet/wlanor/enfor WiFi/tunor/vpnfor VPN
- Compare their IPs and DNS settings
- Copy whichever information you need
- Launch the app to see all interfaces
- Check which interfaces are UP vs DOWN
- Verify IP addresses are in expected ranges
- Check DNS servers are correct (should see your router or public DNS)
- Press
rperiodically to refresh while troubleshooting - Use search to quickly filter to problem interfaces
While the app is a TUI, you can use standard tools alongside it:
# Compare with system tools
ip addr # Linux
ifconfig # macOS
# Check DNS separately
cat /etc/resolv.conf # Linux
scutil --dns # macOS
# Monitor changes
watch -n 1 'ip addr' # Linux - watch changes- Quick navigation: Use
j/k(Vim-style) instead of arrows for faster navigation - Fast refresh: Keep the app open and press
rwhenever you need fresh data - Search then sort: First filter with
/, then sort withsfor precise results - Clipboard workflow: Copy multiple fields from different interfaces sequentially
- Use Help liberally: Press
?whenever you forget a shortcut
- Launch app
- Navigate through each interface
- Copy name (
c), IP (Ctrl+i), and MAC (Ctrl+m) - Paste into your documentation
- Note the DNS servers from the table
- Press
rbefore finalizing to ensure accuracy
- Make network changes in system settings
- Press
rin the app - Verify the changes took effect
- Check interface status (UP/DOWN)
- Confirm IP addresses and DNS
- Press
/ - Type interface name
- Press
Enter - Press
Ctrl+ito copy IP - Done - less than 5 seconds!
You can use NetUtil alongside:
ping- After copying an IP, ping it in another terminaltraceroute- Trace routes from specific interfacesnmap- Scan networks you've identifiedwireshark- Capture traffic on interfaces you've selected- Network managers - Cross-reference with system network tools
- The app is lightweight and responsive
- Refreshing (
r) is instant for typical systems - Search/filter is real-time as you type
- Handles hundreds of interfaces (useful for containers/VMs)
- Minimal CPU usage when idle