ip adresse linux code example Example: display ip address linux #private ip hostname -I or ifconfig or ip addr show #public ip curl ifconfig.me