how to see my ip address on terminal code example Example: get your ip address from terminal for local ip : hostname -I for Public ip : curl icanhazip.com