Linux Command Cheat Sheet/Test basic reachability

Send ICMP echo requests to a host.

Section: Networking and Remote Access

Test basic reachability

bash
bash
ping -c 4 8.8.8.8
Explanation

Good first test for network reachability and latency.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Networking and Remote Access
Print working directory
Show the current absolute path.
Create file or update timestamp
Create an empty file if it does not exist.
Print file contents
Concatenate and print files to standard output.
Search text with grep
Print lines matching a pattern.
List permissions
Show permissions and ownership on files.
List directory contents
List files and directories.