gpt4 book ai didi

windows - 如何在没有 Ping 统计信息的情况下获取 ping 命令的输出?

转载 作者:可可西里 更新时间:2023-11-01 10:05:23 31 4
gpt4 key购买 nike

例如在Windows 7下命令的输出

ping -n 1 ::1

正在关注:

Pinging ::1 with 32 bytes of data:
Reply from ::1: time<1ms

Ping statistics for ::1:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

是否可以在没有 Ping 统计信息的情况下获得输出(在这种情况下没有最后四行,或者在目标主机无法访问的情况下没有两行)?

最佳答案

也许使用这个命令:

ping -n 1 ::1 | find "string to search"

关于windows - 如何在没有 Ping 统计信息的情况下获取 ping 命令的输出?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30800477/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com