This article covers different methods to quickly find the IP address of your #Linux Mint system.
The simplest way to check the ip address of linux Mint, when using the bash shell is typing the command ifconfig.
On typing the ifconfig you will not only be provided with the ip address, but also the mac address, subnet mask and other information.
The following commands will get you the private IP address of your interfaces:
ifconfig -a.
ip addr (ip a).
hostname -I | awk '{print $1}'.
ip route get 1.2.
nmcli -p device show.
What is the #ipconfig command for Linux?
ifconfig(interface configuration) command is used to configure the kernel-resident network interfaces. It is used at the boot time to set up the interfaces as necessary.
After that, it is usually used when needed during debugging or when you need system tuning.
https://linuxapt.com/blog/115-methods-to-find-your-private-ip-address-in-linux-mint-20