ping
ping is a Linux command in the Network category, rated intermediate difficulty. Tests network connectivity to a host by sending ICMP echo requests. The syntax is ping [options] host. Key options and parameters: host — destination hostname or IP. It returns reachability statistics. A practical example: ping google.com ping -c 4 google.com # Send 4 packets ping -i 2 host # Interval of 2 seconds ping -4 host # Force IPv4 A close relative is curl, which transfers data to/from a server using various protocols (HTTP, FTP, etc.). A close relative is wget, which downloads files from the internet. Supports recursive downloads. A close relative is ifconfig, which configures and displays network interface information (legacy, use ip now). More about this category: Linux networking commands — ping, curl, wget, netstat, ss, ifconfig, and more. Configure and troubleshoot network connections. Related Network commands: curl, wget, ifconfig, ip, ss, netstat, nslookup, dig.