Windows
Linux
Networking
Windows netsh interface show interface equivalent in Linux
Displays network interfaces and whether each link is up or down.
Windows
→
netsh interface show interface
Linux equivalents
ip link show
ip link show
ip link show
Overview
What this command does
Displays network interfaces and whether each link is up or down.
Migration tip:
ip link focuses on link-layer state. Use ip addr when you also need assigned IP addresses.Practical tasks
Common use cases
List network interfaces
Displays network interfaces and whether each link is up or down.
ip link show
List every interface
ip link show enp5s0
Inspect one interface
sudo ip link set enp5s0 up
Bring an interface up
Ready to run
Copyable Linux commands
Review paths, device names, package names and permissions before running any command.
ip link show
ip link show enp5s0
sudo ip link set enp5s0 up
Walkthrough
Examples with explanations
ip link show # list network interfaces
ip link show enp5s0 # inspect a specific interface
sudo ip link set enp5s0 up # enable an interface
Reference
Common options and variations
| Command or option | Use |
|---|---|
ip link show | List every interface |
ip link show enp5s0 | Inspect one interface |
sudo ip link set enp5s0 up | Bring an interface up |
Distro differences
Debian/Ubuntu vs Fedora vs Arch
This command is the same on Debian/Ubuntu, Fedora and Arch Linux when the relevant tool is installed.
| Distribution | Package manager / base | Equivalent command | Difference to notice |
|---|---|---|---|
| Debian/Ubuntu | same command | ip link show |
Same command on this distribution. |
| Fedora | same command | ip link show |
Same command on this distribution. |
| Arch | same command | ip link show |
Same command on this distribution. |
Keep learning