filan command not found

In this troubleshooting guide we learn how to fix filan command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

filan: command not found

or when using sudo you get the following error message

sudo: filan: command not found

Solutions to filan: command not found

How To Fix filan: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu filan is provided by socat package.

socat is:

Socat (for SOcket CAT) establishes two bidirectional byte streams and transfers data between them. Data channels may be files, pipes, devices (terminal or modem, etc.), or sockets (Unix, IPv4, IPv6, raw, UDP, TCP, SSL). It provides forking, logging and tracing, different modes for interprocess communication and many more options.

It can be used, for example, as a TCP relay (one-shot or daemon), as an external socksifier, as a shell interface to Unix sockets, as an IPv6 relay, as a netcat and rinetd replacement, to redirect TCP-oriented programs to a serial line, or to establish a relatively secure environment (su and chroot) for running client or server shell scripts inside network connections. Socat supports sctp as of 1.7.0.

To fix this problem, we can install more using the command below.

sudo apt-get -y install socat

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install socat.

sudo apt -y install socat

Or if you have aptitude installed you can use the following command.

sudo aptitude install socat

Summary

In this tutorial we learn how to fix filan command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.