找回密码
 注册
查看: 3961|回复: 0

bash: ping: command not found

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-6-20 22:49:46 | 显示全部楼层 |阅读模式
通过whereis ifconfig发现根本就没有安装这个命令,需要自己安装
; u$ z5 g1 x- C  ~
+ |2 \8 _( o- zapt-get update
: e$ V5 m! h% F# ?0 `apt install net-tools   3 [; l" a% i8 `2 U8 G, }' U
     # ifconfig : |0 |! X( x; }
apt install iputils-ping
3 G/ k$ J3 h, V( e2 S+ _$ o    # ping
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 03:00 , Processed in 0.019499 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表