$ping
Send ICMP ECHO_REQUEST to network hosts to test connectivity and latency.
ping [OPTIONS] DESTINATIONПопробуйте в интерактивной песочнице
Клиентская симуляция без установки с мгновенным результатом.
Обзор и принцип работы
`ping` is the fundamental network diagnostics tool used to verify whether a remote host or IP address is reachable across an IP network. It measures the round-trip time (RTT) for packets sent from the local machine to a destination and reports packet loss percentages.
Основные флаги и параметры команды
| Flag / Option | Description |
|---|---|
| -c [count] | Stop sending ECHO_REQUEST packets after count packets are sent. |
| -i [interval] | Wait interval seconds between sending each packet (default 1s). |
| -W [timeout] | Time to wait for a response in seconds before timing out. |
Практические примеры использования
ping -c 4 onlinelinuxterminal.comSends exactly 4 ICMP packets to test network latency and packet loss.
Похожие команды Linux
Передача данных и выполнение сетевых запросов по протоколам HTTP, HTTPS и REST API.
Non-interactive network downloader for HTTP, HTTPS, and FTP.
Print network connections, routing tables, interface statistics, and listening ports.
Securely log into remote Linux servers and execute commands over encrypted connections.
Securely copy files and directories between hosts over SSH connection.
Fast and versatile remote and local file-copying and synchronization tool.