ubuntu obtenir l'adresse ip code example
Example: 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
# when you're on your terminal Window :
ipconfig
# on macOS :
ifconfig | grep "inet" | grep -v 127.0.0.1
# on Linux :
hostname -I