net-tools工具箱包括arp,hostname, ifconfig, netstat, rarp, route, plipconfig, slattach, mii-tool and iptunnel and ipmaddr等命令。
debian系统使用ifconfig
命令查看IP
地址时,出现如下提示
一、查看debian系统是否安装ifconfig
命令
使用whereis ifconfig
可以看到没有安装ifconfig
命令。
二、安装ifconfig命令
sudo apt-get install net-tools
再次使用whereis ifconfig可以看到已经安装ifconfig命令。
三、使用ifconfig
命令查看IP地址
sudo ifconfig
可以查看出本机IP
如果本⽂对您有所帮助,请关注微信公众号 “ 捷创源科技 ” 。加⼊知识星球,可以获取更多技术⼲货!
文章转载自捷创源科技,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。