Debian9 ifconfig命令找不到解決辦法
ifconfig、route、arp和netstat等命令行工具(它們統稱為net-tools),管理和排查各種網絡配置。這類工具原先起源於BSD TCP/IP工具箱,旨在配置老式Linux內核的網絡功能。自2001年以后,它在Linux社區的發展就止步不前了。Debian ,Arch Linux ,CentOS/RHEL 7等一些Linux發行版已經棄用了net-tools,其他發行版計划棄用net-tools,改而使用iproute2。所以要再想使用ifconfig命令就要從新安裝net-tools
安裝net-tools
root@debian:~# apt install net-tools
通過上面的命令安裝完就可以用ifconfig命令查看ip地址了
