In this article, we are going to teach you How to Install and Run Netstat on Fedora 33. The Netstat command, which stands for Network Statistics is a command-line program to get network status. Netstat doesn’t feature a graphical user interface.
In the next section, we will introduce you to the concept of Netstat. Then, in the rest of this post, we will teach you how to install Netstat on Fedora 33. Stay with us to learn how to install and run Netstat in the rest of this article.
Netstat is a command-line utility used by system administrators for analyzing network statistics and is a program that is controlled via commands issued in the command line. It delivers basic statistics on all network activities and informs users on which ports and addresses the corresponding connections are running and which ports are open for tasks.
In 1983, Netstat was first implemented in Unix-derived BSD. Netstat was first integrated into Linux in 1991 and has been present in Windows since version 3.11 was released, which can also communicate via TCP/IP with the help of extensions. It should be noted that Netstat displays a whole manner of statistics such as open ports and corresponding addresses on the host system, routing table, and masquerade connections.
Note that the Netstat command is provided by the net-tools package on Fedora servers. In the first step, you should open a new terminal and log into your Linux VPS server via SSH as a root user or as a sudo user.
Now you can install Netstat on Fedora 33 server by entering the following command:
sudo dnf install net-tools
If you asked for confirmation, you should enter “y” and then press “Enter“:
Install 1 Package Total download size: 305 k Installed size: 989 k Is this ok [y/N]: y
Next, Run the following command to verify the installation by checking the netstat version:
First, you should log in to your Fedora 33 server as root.
Now enter the following command to download the net-tools package. This command downloads the net-tools package from the fedoraproject.org website:
Also, you can download the rpm file by entering the following command:
rpm -ivh net-tools-2.0-0.56.20211201git.fc32.x86_64.rpm
If you use the above command to install, you should download and install dependencies manually. To do this, run the following command:
dnf install net-tools-2.0-0.56.20211201git.fc32.x86_64.rpm
You can find services that run on various ports by entering the following command:
This allows you to identify if the service is listed on each port.
Command parameters include:
t: is used to print TCP connections
u: is used for printing UDP connections
l: Print all listening server sockets
p: Print all PID/Program names for sockets
n: Don’t resolve names from IPs
Netstat command is used on Linux servers to see the incoming and outgoing network connections and other network-related information. This article taught you how to install and run Netstat on Fedora 33.
How useful was this post?
Click on a star to rate it!
Average rating 0 / 5. Vote count: 0
No votes so far! Be the first to rate this post.
Developers spend a lot of time using a text editor, which is why a text editor is an important tool....
What is your opinion about this Blog?