ping

Send ICMP ECHO_REQUEST packets to network hosts. More information: <https://manned.org/ping>.

Install

All systems
curl cmd.cat/ping.sh
Debian Debian
apt-get install inetutils-ping
Ubuntu
apt-get install inetutils-ping
Alpine
apk add iputils
Arch Arch Linux
pacman -S iputils
image/svg+xml Kali Linux
apt-get install inetutils-ping
CentOS
yum install iputils
Fedora
dnf install iputils
Windows (WSL2)
sudo apt-get update sudo apt-get install inetutils-ping
Raspbian
apt-get install inetutils-ping
Docker
docker run cmd.cat/ping ping powered by Commando

Send ICMP ECHO_REQUEST packets to network hosts. More information: <https://manned.org/ping>.

  • Ping host:
    ping host
  • Ping a host only a specific number of times:
    ping -c count host
  • Ping host, specifying the interval in seconds between requests (default is 1 second):
    ping -i seconds host
  • Ping host without trying to lookup symbolic names for addresses:
    ping -n host
  • Ping host and ring the bell when a packet is received (if your terminal supports it):
    ping -a host
  • Also display a message if no response was received:
    ping -O host

© tl;dr; authors and contributors