ping ip address linux terminal code example
Example 1: linux check ip address command
ifconfig -a
Example 2: IP adress terminal
# when you're on your terminal Window :
ipconfig
# on macOS :
ifconfig | grep "inet" | grep -v 127.0.0.1
# on Linux :
hostname -I