Advance

Learning to work with Fping tools on Linux

Learning to work with Fping tools on Linux

How to work with Fping tools on Linux.

Certainly, nowadays no one is unfamiliar with the Ping command and do not know that, with this command, ICMP packets can be sent to another device on the network and be informed of its status. Now in this article, from the Linux tutorial series, we are going to introduce you to an attractive tool called fping so that you can take advantage of its practical capabilities. Join us to learn how to work with Fping tools on linux.

Recommended Article: Tutorial WordPress installation with Nginx in Ubuntu 20.04

 

What is Fping?

Fping is a small tool that you can install separately on your Linux and use it to pin devices inside the network. But the important thing about this tool is that, its distinct with Ping commands. It is the ability to ping multiple devices on a network, allows us to ping all systems within a network or different IP addresses simultaneously.

Join us now to learn how to work with Fping tools on Linux and of course install it

Learning to work with Fping tools on Linux

Fping installation

You can use the following commands to install fping in different versions of Linux :

Install fping on CentOS and Redhat

yum install fping  

Installing fping on Debian and Ubuntu VPS

apt install fping  

Installing fping in Fedora

dnf install fping  

Installing fping in Arch Linux

pacman -S fping  

Therefore you will be able to install fping on your Linux.

After installation, to ensure the correct installation status, you can enter the following command to display the installed fping version on your server.

fping -v  

Note: If the output correctly displays the tool version, it means that the fping is installed correctly.

Well, so far you’ve managed to install fping on your Linux; In the following, we will teach you how to work with it in Linux.

Working with Fping commands

The easiest way to use the fping command to test and check multiple different IP addresses simultaneously would be as follows.

fping 40.116.66.139 173.194.35.35 98.139.183.24  

To use fping to check and test a range of IP addresses, you can enter the fping command as follows.

fping -s -g 192.168.0.1 192.168.0.9

To ping a subnet completely, you will be able to enter the fping command as shown below.

fping -g -r 1 192.168.0.0/24  

 

Recommended Article: Learning to work with Fping tools on Linux

 

Note that in the above command, the -r parameter with the number 1 is used, which means that the whole subnet has to be in ping command only once.

Finally, another interesting feature of fping is the ability to read IP addresses from a TXT file that enables you to create a file from all the desired IP addresses and call it whenever you want.

fping < IPs.txt  

In the above command, we have already created a file called IPs.txt and in the above command we called it.

We hope you enjoy the tutorial on working with Fping tools on Linux.

If you have any questions or problems, you can ask the Ask system to provide guidance.

View More Posts
Tom Veitch
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave a Reply

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

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day