Basic IP information command for WSL
sudo curl https://gist.githubusercontent.com/Muaath5/85022d0063b9842826e43cd9660271f2/raw/0530d123056d30a3c0b25fef8a2ed62390d7403e/ipconfig > ipconfig
sudo chmod +x ./ipconfig
sudo mv ./ipconfig /usr/bin/local
No input will print everything, you can use a specific one.
-1
: Prints Local IP-2
: Prints WSL IP-3
: Prints Windows IP-4
: Prints Public IP