how to get wsl ip address code example Example: how to check my ip address on wsl ip addr show eth0 | grep -oP '(?<=inet\s)\d+(\.\d+){3}'