跳到主要内容
帮助中心

新闻公告

产品更新、运营公告与行业观察
一手消息,第一时间同步给你

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

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


本文链接
返回本栏目
工单