If you are on a Linux machine and trying to run ifconfig you may get Command not found: ifconfig. That is because some Linux distros don't come with it bundled by default.
On Manjaro Linux which is an Arch Linux based distro you can use pacman to install the package containing ifconfig called net-tools:
sudo pacman -S net-toolsOn Debian based distros you can use:
sudo apt-get install net-toolsIf you don't want to install net-tools you can try using the ip command:
ip addrThis will return the interfaces on your machine and their IP bindings.