Created
January 7, 2019 22:28
-
-
Save dlundquist/620e2a029d4b9ba195326ca1e58c4e4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for BR in $(ip link show type bridge | awk -F : '/^[0-9]+: [^:]+:/ {print $2}'); do | |
echo === $BR === | |
ip addr show dev $BR | |
ip link show master $BR | |
echo | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment