我們在虛拟主機中檢視ip位址需要輸入ifconfig,但是報以下錯誤: ubuntu18.04 出現 Command 'ifconfig' not found 問題的解決辦法 系統提示我們安裝 net-tools,當我們輸入以下指令,即可安裝完成。 sudo apt-get install net-tools ubuntu18.04 出現 Command 'ifconfig' not found 問題的解決辦法 然後再輸入指令ifconfig即可看到虛拟機的ip位址