一、linux沒有ifconfig命令linux
可使用如下命令查詢ip地址:工具
ip addr showip
ifconfig命令在net-tools工具裏,安裝命令:yum
yum install net-tools查詢