pktstat command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pktstat: command not found
or when using sudo you get the following error message
sudo: pktstat: command not found
Solutions to pktstat: command not found
How To Fix pktstat: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pktstat is provided by pktstat package.
pktstat is:
pktstat displays a real-time list of active connections seen on a network interface, and how much bandwidth is being used by what.
It partially decodes HTTP and FTP protocols to show what filename is being transferred, as well as X11 application names. Entries hang around on the screen for a few seconds so you can see what just happened.
It also accepts BPF expressions.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pktstat
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pktstat.
sudo apt -y install pktstat
Or if you have aptitude installed you can use the following command.
sudo aptitude install pktstat
Summary
In this tutorial we learn how to fix pktstat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.