Ubuntu18.04.3不能使用ifconfig命令查看IP地址解决方法
Ubuntu:查看IP地址的命令ifconfig -a,如果无法使用的话,并且提示是sudo apt install net-tools,就可以添加net-tools包,使它能够查询本机IP。
之后就可以使用ifconfig 命令查看ip 地址了。
Ubuntu:查看IP地址的命令ifconfig -a,如果无法使用的话,并且提示是sudo apt install net-tools,就可以添加net-tools包,使它能够查询本机IP。
之后就可以使用ifconfig 命令查看ip 地址了。