redir command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
redir: command not found
or when using sudo you get the following error message
sudo: redir: command not found
Solutions to redir: command not found
How To Fix redir: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu redir is provided by redir package.
redir is:
It can run under inetd or stand alone (in which case it handles multiple connections). It is 8 bit clean, not limited to line mode, is small and light. Supports transparency, FTP redirects, http proxying, NAT and bandwidth limiting.
redir is all you need to redirect traffic across firewalls that authenticate based on an IP address etc. No need for the firewall toolkit. The functionality of inetd/tcpd and “redir” will allow you to do everything you need without screwy telnet/ftp etc gateways. (I assume you are running IP Masquerading of course.)
To fix this problem, we can install more using the command below.
sudo apt-get -y install redir
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install redir.
sudo apt -y install redir
Or if you have aptitude installed you can use the following command.
sudo aptitude install redir
Summary
In this tutorial we learn how to fix redir command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.