Debain查看ip地址

使用命令ip addr show查看ip地址,如果显示的信息太多的话,可以只查看eth0端口的信息,使用ip addr show eth0命令

你可能感兴趣的:(liunx)