Created
January 31, 2024 07:54
-
-
Save sport4minus/bdd5358a12e6588cd43c2547ca51a461 to your computer and use it in GitHub Desktop.
shell script to quickly list ip adresses of interfaces
This file contains 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
for ifname in `ipconfig getiflist`; do echo $ifname: `ipconfig getifaddr $ifname`; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment