ping
A network tool that sends a small test message to a machine and times the reply, showing only that the machine is reachable.
In more detail
It uses a special kind of network message and reports how long each reply took. A reply proves the machine is reachable, but nothing about whether you can log in or run programs there.
Examples
Ansible's ping module is not a network ping: it logs in and runs Python, so it proves much more.until ping -c 1 localhost; do sleep 1; doneRelated terms
- ping module — The module that connects to a host, starts Python there and replies pong, proving the whole path to the host works.
- until loop — A loop that runs its body again and again until a test command succeeds, the reverse of while.
- localhost — The name a machine uses for itself; traffic sent there never leaves that machine.
Taught in
- Ansible Architecture And The Control Node — Ansible Configuration Management at Scale
- Your First Ad Hoc Command — Ansible Configuration Management at Scale
- Connections And Privilege Escalation — Ansible Configuration Management at Scale
- Loops: for, while, until, break, continue — Bash Scripting & Command Line Automation
- Static Inventories: Hosts, Groups And Groups Of Groups — RHCE in Ansible (EX294): Automate Red Hat Systems
- SSH Keys And An Account For Ansible — RHCE in Ansible (EX294): Automate Red Hat Systems
- Mock Exam, Part 1: Seven Tasks Across Three Sections — RHCE in Ansible (EX294): Automate Red Hat Systems