@sakshi87
Linux Oct 16, 2026

finding my local ip address on ubuntu

Need my machine's internal IP to set up a port forward on the router. ifconfig isn't installed apparently. What's the command most people use now?
1

Leave A Reply

Log in to post an answer.

1 Answer

devh Oct 20, 2026
sakshi87
ip a look for inet under your wifi or ethernet interface. or hostname -I if you just want the number on its own.