Skip to main content

ping

# Ping to a host by ip
ping ip_address

# Ping a host only a specific number of times
ping -c <π‘ͺ𝑢𝑼𝑡𝑻> <𝗛𝗒𝗦𝗧>

# Ping to a host, specifying the interval in
# seconds between requests (default is 1 second)
ping -i <π—¦π—˜π—–π—’π—‘π——π—¦> <𝗛𝗒𝗦𝗧>

# Ping to a host without trying to lookup symbolic
# names for addresses
ping -n <𝗛𝗒𝗦𝗧>

# Ping to a host and ring the bell when a packet
# is received (if your terminal supports it)
ping -a <𝗛𝗒𝗦𝗧>

# Display a message if no response was received
ping -O <𝗛𝗒𝗦𝗧>

References​