how to get the linux terminal show the ip address code example Example 1: linux check ip address command ifconfig -a Example 2: get ip address linux curl ifconfig.me