It’s a program as much as netsh or list or dir is a program. I’d call it more of a command. But I haven’t coded in years, so maybe my definition is a bit off. And I’m be a semantic asshole; it really doesn’t matter.
I had to know if I was right, so I found this, saying you are right. Basically it’s a “command” to run a “program” aka series of code lines.
You’re right:
Ping operates by sending Internet Control Message Protocol (ICMP) echo request packets to the target host and waiting for an ICMP echo reply. The program reports errors, packet loss, and a statistical summary of the results, typically including the minimum, maximum, the mean round-trip times, and standard deviation of the mean.
The command-line options of the ping utility and its output vary between the numerous implementations. Options may include the size of the payload, count of tests, limits for the number of network hops (TTL) that probes traverse, interval between the requests and time to wait for a response. Many systems provide a companion utility ping6, for testing on Internet Protocol version 6 (IPv6) networks, which implement ICMPv6.
It’s a program as much as netsh or list or dir is a program. I’d call it more of a command. But I haven’t coded in years, so maybe my definition is a bit off. And I’m be a semantic asshole; it really doesn’t matter.
I had to know if I was right, so I found this, saying you are right. Basically it’s a “command” to run a “program” aka series of code lines.
You’re right:
Ping operates by sending Internet Control Message Protocol (ICMP) echo request packets to the target host and waiting for an ICMP echo reply. The program reports errors, packet loss, and a statistical summary of the results, typically including the minimum, maximum, the mean round-trip times, and standard deviation of the mean.
The command-line options of the ping utility and its output vary between the numerous implementations. Options may include the size of the payload, count of tests, limits for the number of network hops (TTL) that probes traverse, interval between the requests and time to wait for a response. Many systems provide a companion utility ping6, for testing on Internet Protocol version 6 (IPv6) networks, which implement ICMPv6.