1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/fping.md

21 lines
621 B
Markdown
Raw Normal View History

2017-06-08 18:25:51 +08:00
# fping
> A more powerful ping which can ping multiple hosts.
2019-06-07 11:58:16 +01:00
> More information: <https://fping.org>.
2017-06-08 18:25:51 +08:00
2024-10-03 18:43:54 +03:00
- List the status of all hosts within a range:
`fping {{192.168.1.{1..254}}}`
2017-06-08 18:25:51 +08:00
- List alive hosts within a subnet generated from a netmask:
2024-10-03 18:43:54 +03:00
`fping {{-a|--alive}} {{-g|--generate}} {{192.168.1.0/24}}`
2017-06-08 18:25:51 +08:00
2024-10-03 18:43:54 +03:00
- List alive hosts within a subnet generated from an IP range and prune per-probe results:
2017-06-08 18:25:51 +08:00
2024-10-03 18:43:54 +03:00
`fping {{-q|--quiet}} {{-a|--alive}} {{-g|--generate}} {{192.168.1.1}} {{192.168.1.254}}`
2017-06-08 18:25:51 +08:00
- List unreachable hosts within a subnet generated from a netmask:
2024-10-03 18:43:54 +03:00
`fping {{-u|--unreach}} {{-g|--generate}} {{192.168.1.0/24}}`