https://raspberrypi.stackexchange.com/questions/1409/easiest-way-to-show-my-ip-address



The if family of tools including ifconfig are being deprecated and replaced by the newer ip commands so you can use any one of the following from the command line to determine your IP address:

sudo ip addr show

or

sudo hostname --ip-address

or if you still want to use ifconfig, and it is not already installed

sudo apt-get install wireless-tools
sudo ifconfig -a


+ Recent posts