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