moncmd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
moncmd: command not found
or when using sudo you get the following error message
sudo: moncmd: command not found
Solutions to moncmd: command not found
How To Fix moncmd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu moncmd is provided by mon package.
mon is:
“mon” is a tool for monitoring the availability of services. Services may be network-related, environmental conditions, or anything that can be tested with software. If a service is unavailable mon can tell you with syslog, email, your pager or a script of your choice. You can control who gets each alert based on the time of day or day of week, and you can control how often an existing problem is re-alerted.
More information can be found at http://mon.wiki.kernel.org
To fix this problem, we can install more using the command below.
sudo apt-get -y install mon
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mon.
sudo apt -y install mon
Or if you have aptitude installed you can use the following command.
sudo aptitude install mon
Summary
In this tutorial we learn how to fix moncmd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.