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

bash: ping: command not found

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-6-20 22:49:46 | 显示全部楼层 |阅读模式
通过whereis ifconfig发现根本就没有安装这个命令,需要自己安装& w' b7 q  [( d% t; K
8 T0 ]* D1 \" }9 n! X
apt-get update
; y' R8 f; \# J. _6 sapt install net-tools   
/ \7 W! D9 |! B( t* ^     # ifconfig # R1 l6 K% z! _5 q$ X# c+ N- O
apt install iputils-ping
, b+ o  i' U% ~/ n8 l9 C5 h4 b    # ping
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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