NetworkingLesson 31Free preview
Bash Ping
This lesson is part of Bash · All levels
Summary
The ping command tests the network connection by sending an ICMP package to the destination host and waiting for a response. The results show response times and missing packets, making it easy to assess tissue health. The ping runs continuously until it is stopped with Ctrl+C, unless limited to -c option.
Key points
- The ping host sends the ICMP packet repeatedly
- c N sent N pack and stopped
- 0% packet loss means a stable connection
- Response time in ms shows latency
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.