CentOS 7執行 ifconfig 出現 command not found 的解決方法

CentOS 7 最小安裝後,執行 ifconfig 出現 command not found 的解決方法:
通過yum方式安裝 ifconfig 管理命令

[root@localhost ~]# yum install -y net-tools.x86_64

ifconfig命令執行正常的同時,在 /sbin 目錄下會出現 ifconfig 文件
ifconfig

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章