commands
ping — Probe ICMP echo
Sends ICMP echo requests; -c bounds count and -W specifies reply wait in iputils. Failure can be permissions, filtering or loss. Loopback only here. Use a fresh private workspace; live operations are VM-only.
Formal Syntax & Structure
linux syntaxlinux
ping [OPTIONS] DESTINATIONParameters & Attributes
| Name | Type | Description |
|---|---|---|
| DESTINATION | operand | Owned lab endpoint |
| -c | option | Count |
| -W | option | Reply wait |
Return Value
exit status and output
Sends ICMP echo requests; -c bounds count and -W specifies reply wait in iputils. Failure can be permissions, filtering or loss. Loopback only here.
Working Example
Example Snippetlinux
ping -c 1 -W 1 127.0.0.1