in

fping- Best Ping tool for Linux & its Installation on Ubuntu

Install fping on Linux Ubuntu, Fedora, CentOs & More

fping Linux

fping Linux: In this article, we will see What is fping and how to install it on various Linux Environments such as Linux Ubuntu Unity 18.04.1 LTS, other Debian Distros, Fedora, CentOS and more. In general, fping is a ping tool that is available for Linux that can perform a wide range of operations. Check out: Brackets Source Code Editor for Linux Ubuntu

Jump to:

What is a Ping?

Ping(the abbreviation is Packet Internet Groper) is nothing but a Network utility function which is used to check the Host connectivity on IP(Internet Protocol) but sending Echo requests which are nothing but Internet Control Message Protocol(ICMP) and wait for a return signal from the host and thereby producing data based on the return signal time and quality and lot more.

How does fping differ from Ping?

  • fping allows you to specify the number of targets.
  • fping is used in Scripts and hence it will be easy to parse.
  • You can also specify the targets on a file so that the fping send signals to a number of targets rather than sending signals to a single target until it gets a return signal or replies. (The replied signal from the file list will be excluded from the loop and the iteration continues with the rest of the target signals).

Installing fping on different Linux Environments:

For Linux Ubuntu Unity 18.04.1 LTS & other Debian/Ubuntu based Distros:

$   sudo apt-get install fping

fping Linux on Linux Fedora:

$   sudo dnf install fping

fping on CentOS:

$   sudo yum install fping

Get fping Linux on openSUSE:

$   sudo zypper install fping

fping for Arch Linux:

$   sudo pacman -S fping
Quick Facts: You can also download fping Linux from official fping and install it on your Linux System.

fping functions on Linux- Quick Go through:

The following table explains the functionalities of fping linux. 

Check this too  How To Find Files Using "Find" Command in Linux Using Terminal Command?
CommandPurpose/Output
-aDisplay where the target is alive or not
-ADisplay the target by IP address instead of DNS name
-eDisplays the time taken by return packets
-nDisplay targets by name
-sPrints the Statistics of the current fping target
-qQuiet. Does not display the individual tasks done by fping
-uDisplays targets which are not reachable
-vDisplays the version of fping that is currently installed

Getting Started with fping on Linux Ubuntu Unity 18.04.1 LTS:

Here, we will see in detail about working with fping on Linux Ubuntu.

  • Kindly open the Terminal using the shortcut CTRL + ALT + T.
  • Execute the installation command of fping on Linux Ubuntu.
$   sudo apt-get install fping
fping Linux
Installing fping on Ubuntu

Check the Pinging of an IP or a Website:

  • If you wish to check whether an IP or a Target is working properly then you can use the following command.
Syntaxes: $   fping IP Address     ||     $ fping Website

Example: $   fping  172.24.31.30     ||     $   fping tecrobust.com

  • Once you execute the above command the output will be as mentioned in the following images. 
    fping ip
    fping website

Pinging Multiple IP Address at a single instant:

  • It is possible to check for multiple IP addresses and all you have to do is to separate them with spaces. Kindly check out the below example.
Syntax: $   fping ipaddress1 ipaddress2

Example: $   fping 172.24.31.30 168.25.37.1

fping linux
Checking for Multiple Address

Displaying Targets using IP address than DNS:

  • Suppose when you are checking a target and if you wish the status of the target using its IP address instead of DNS, then you can follow this method.
Syntax: $   fping -A Target_name

Check this too  Video Tutor: fping- Best Ping tool for Linux Ubuntu 18.04.2 LTS

Example: $   fping -A tecrobust.com

fping linux
Display Targets with IP Address

Reading a list of targets from a file using fping:

  • This is one of the very interesting advantages of fping over normal ping. We have explained the steps in the detail below.
  • Create a text file(say fping.txt) with the targets(IP address) and save it on the Desktop.
fping linux
Check targets of a file
  • Open Terminal and execute the following command.
$   fping < fping.txt

Note: You need to replace the fping.txt with your filename

Display the Complete fping statistics of target/targets:

  • If you wish to know about the complete information of how many packets sent and how much time it took for fping then kindly follow the below command.
Syntax: $   fping -s target_name

Example: $   fping -s tecrobust.com

statis 1
statis 2

Checking Targets through a range:

  • If you want to check a number of targets through a range then this command can be used on the terminal.
Syntax: $   fping -s -g IPaddress range -r 1

Example: $   fping -s -g 172.150.34.32 172.150.34.40 -r 1

fping linux
Check targets over a range

Displaying the Time taken by the Return Packets:

  • Once the fping send packets to the targets, it will take some time to get signals from the return packets and it is possible to check how much time the return signals took.
Syntax: $   fping -e target_name

Example: $   fping -e tecrobust.com

fping linux
Elapsed Time information

Print the Help options of fping on the Terminal:

  • Help option of fping provides a number of information on fping and the commands that can be used.
$   fping -h
fping linux
fping help center

Get to know the fping version:

  • To get to know the current fping version that is currently installed, the following command has to be used.
$   fping -v
fping linux
Display the installed fping version

Get in Touch with Us:

This article provides detailed information on How to Install fping Linux on various Linux Versions such as Linux Ubuntu Unity 18.04.1 LTS, Linux Mint, and other Debian and Ubuntu Distros and other distros such as Fedora, OpenSUSE, Arch Linux and more. We have also explained a number of functionalities of fping Linux on Ubuntu Unity with detailed steps and clear images for easy understanding of the users. Kindly Comment Us if you have any Query and we will revert to you with a solution ASAP.

Check this too  5 Basic Linux Tips & Tricks Command Line - Interesting Tricks
Article Review
  • Article Quality
  • Content Depth
  • Explanation
  • Working Efficiency
4.8

Summary

For more interesting articles on Linux and Ubuntu, Kindly visit TecRobust

Leave a Reply

Your email address will not be published. Required fields are marked *

Written by Mike

Seeker of nature. For me, everything is about nature. Loves to gaze through different scapes, weather and admire the colors of nature. Contact me through the Contact Us adding "@Mike" on the Subject box.

Skype for Ubuntu

How to Install Skype for Ubuntu 18.04.1 LTS and other Debian Distros

Kodi for Linux

How to Install Kodi on Linux Ubuntu, Mint & More