mad command not found

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

Introduction

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

mad: command not found

or when using sudo you get the following error message

sudo: mad: command not found

Solutions to mad: command not found

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

In Ubuntu mad is provided by mmv package.

mmv is:

mmv is a program to move/copy/append/link multiple files according to a set of wildcard patterns. This multiple action is performed safely, i.e. without any unexpected deletion of files due to collisions of target names with existing filenames or with other target names.

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

sudo apt-get -y install mmv

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

You can also use apt command to install mmv.

sudo apt -y install mmv

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

sudo aptitude install mmv

Summary

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