HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

fping — A more powerful ping which can ping multiple hosts. More information: <https://fping.org/fping.8.htm

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandcanfpingclipowerfulwhichpingmore

Problem

How to use the fping command: A more powerful ping which can ping multiple hosts. More information: <https://fping.org/fping.8.html>.

Solution

fping — A more powerful ping which can ping multiple hosts. More information: <https://fping.org/fping.8.html>.

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}}

Code Snippets

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}}

Context

tldr-pages: common/fping

Revisions (0)

No revisions yet.