Skip to content

Instantly share code, notes, and snippets.

@mlocati
Created September 9, 2025 07:04
Show Gist options
  • Select an option

  • Save mlocati/7e1806c4329d23b58f18231b1667b199 to your computer and use it in GitHub Desktop.

Select an option

Save mlocati/7e1806c4329d23b58f18231b1667b199 to your computer and use it in GitHub Desktop.
Determine the Windows IP from inside WSL
ip route show | grep ^default | cut -d' ' -f3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment