This article will guide you on how to check your private IP address in #Ubuntu 20.04 LTS system.
ifconfig command is used to display or configure a network interface.
To use command prompt (CMD) to find my #IP #address:
- Open the command prompt: if you have a Start menu in your Windows system, open it and type cmd into the search bar.
- Type ipconfig into the command prompt (or the Run box).
- Find your IP address within the text that pops up.
You can also use the following commands will get you the private IP address of your interfaces:
i. ifconfig -a.
ii. ip addr (ip a)
iii. hostname -I | awk '{print $1}'
iv. nmcli -p device show.
https://linuxapt.com/blog/74-find-your-ip-address-in-ubuntu-20-04-lts