15 Linux ping command examples for network diagnostics | Linux Today

15 Linux ping command examples for network diagnostics

Written By
ME
Mokhtar Ebrahim
Sep 4, 2019

1 What is the use of the ping command?
2 How does ping command work?
3 Can I ping with a proxy?
4 Ping ipv6 protocol
5 Ping a specific port
6 Ping with time
7 Ping all the hosts on a given subnet
8 How to end a ping?
8.1 End after a specific count
9 Where does ping command located on Linux?
10 Check latency using the ping command
11 Find the ideal MTU
12 Ping on layer 2 (using arping)
13 Ping a hostname
14 Ping route (using traceroute)
15 Run Command if ping fails
16 Set the ping packet size
17 Disable the ping command
18 Conclusion

ME

Mokhtar Ebrahim

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.