在Linux系统中,ifconfig
命令通常已经预装在大多数发行版中
sudo apt-get update
sudo apt-get install net-tools
sudo yum install net-tools
或者
sudo dnf install net-tools
sudo dnf install net-tools
sudo zypper install net-tools
sudo pacman -S net-tools
安装完成后,你就可以在终端中使用ifconfig
命令了。
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读:linux安装ifconfig文档在哪找