Knowledge Base
Commands to Get Private IP Address
ifconfig -a*/sbin/ip addror/sbin/ip ahostname -I | awk '{print $1}'/sbin/ip route get 1.2.3.4 | awk '{print $7}'nmcli -p device show/sbin/ip -4 addr show eth0
*ifconfig is part a of net-tools which is not installed by default. To install net-tools:
sudo apt install net-tools