关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

-bash: ping: command not found 错误解决方法

发布时间:2022-09-17 15:10:18
1491984010112764.jpg

linux 系统可能没有自带 ping 工具。当用到 ping 如果没有安装就会出现 --bash: ping: command not found,需要我们自己安装。

CentOS、RockyLinux、Red Hat 安装命令:


1
sudo yum install iputils -y

Debian、Ubuntu 安装命令:


1
sudo apt install inetutils-ping -y

image.png



/template/Home/8a/PC/Static