command line show ip debian code example Example 1: show ip address linux $ hostname -I Example 2: how to show ip in terminal debian 1- sudo ifconfig 2- ip a