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