tenshi command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tenshi: command not found
or when using sudo you get the following error message
sudo: tenshi: command not found
Solutions to tenshi: command not found
How To Fix tenshi: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tenshi is provided by tenshi package.
tenshi is:
Tenshi is a log monitoring program, designed to watch one or more log files for lines matching user defined regular expressions and report on the matches. The regular expressions are assigned to queues which have an alert interval and a list of mail recipients.
Queues can be set to send a notification as soon as there is a log line assigned to it, or to send periodic reports.
Additionally, uninteresting fields in the log lines (such as PID numbers) can be masked with the standard regular expression grouping operators ( ). This allows cleaner and more readable reports. All reports are separated by hostname and all messages are condensed when possible.
The program reads a configuration file and then forks a daemon for monitoring the specified log files.
To fix this problem, we can install more using the command below.
sudo apt-get -y install tenshi
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install tenshi.
sudo apt -y install tenshi
Or if you have aptitude installed you can use the following command.
sudo aptitude install tenshi
Summary
In this tutorial we learn how to fix tenshi command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.