Files
cheatsheet-tldr/tldr/fping
2024-10-04 00:17:00 +00:00

26 lines
714 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# fping
> A more powerful ping which can ping multiple hosts.
> More information: <https://fping.org>.
- List the status of all hosts within a range:
`fping {{192.168.1.{1..254}}}`
- List alive hosts within a subnet generated from a netmask:
`fping {{-a|--alive}} {{-g|--generate}} {{192.168.1.0/24}}`
- List alive hosts within a subnet generated from an IP range and prune per-probe results:
`fping {{-q|--quiet}} {{-a|--alive}} {{-g|--generate}} {{192.168.1.1}} {{192.168.1.254}}`
- List unreachable hosts within a subnet generated from a netmask:
`fping {{-u|--unreach}} {{-g|--generate}} {{192.168.1.0/24}}`