Created
January 10, 2021 12:06
-
-
Save AIT-RAMI/f91f0e67a3d598f900ec92b387b4029d to your computer and use it in GitHub Desktop.
wsl internal ip
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
#!/bin/bash | |
ip addr | grep -E "\b*inet.*global" | sed -E "s/inet(.*)\/.*/\1/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment