tcpspy command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tcpspy: command not found
or when using sudo you get the following error message
sudo: tcpspy: command not found
Solutions to tcpspy: command not found
How To Fix tcpspy: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tcpspy is provided by tcpspy package.
tcpspy is:
tcpspy is an administrator’s tool that logs information about incoming and outgoing TCP/IP connections. It’s written in C and uses no libpcap functions, unlike tcpdump.
Connections are selected for logging with rules, similarly to the filter expressions accepted by tcpdump. The following information is logged: username, local address and port, remote address and port, and, optionally, the executable filename.
This Debian version supports IPv4 and IPv6.
To fix this problem, we can install more using the command below.
sudo apt-get -y install tcpspy
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install tcpspy.
sudo apt -y install tcpspy
Or if you have aptitude installed you can use the following command.
sudo aptitude install tcpspy
Summary
In this tutorial we learn how to fix tcpspy command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.