Linux networking · Testing connectivity
Check that a host answers
Send four echo requests and report replies.
ping -c 4 example.com
Official Linux networking documentation
More testing connectivity commands
- Trace the path to a host
- Trace with live statistics
- Test whether a port is open
- Time each phase of a request
- Find the path MTU
All testing connectivity commands · Linux networking cheatsheet