Мануалы и справочники Общие команды

Команда ping: опции, ключи и примеры использования


Send ICMP ECHO_REQUEST packets to network hosts.

  • 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}}

Изображение Выучи 10 хороших привычек для работы в UNIX от IBM