mz command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mz: command not found
or when using sudo you get the following error message
sudo: mz: command not found
Solutions to mz: command not found
How To Fix mz: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mz is provided by mz package.
mz is:
mausezahn (mz) is a fast traffic generator written in C which allows you to send nearly every possible and impossible packet. It is mainly used to test VoIP or multicast networks but also for security audits to check whether your systems are hardened enough for specific attacks. Mausezahn can be used for example:
- as traffic generator (e.g. to stress multicast networks);
- to precisely measure jitter (delay variations) between two hosts (e.g. for VoIP-SLA verification);
- as didactical tool during a datacom lecture or for lab exercises;
- for penetration testing of firewalls and IDS;
- for DoS attacks on networks (for audit purposes of course);
- to find bugs in network software or appliances;
- for reconnaissance attacks using ping sweeps and port scans;
- to test network behaviour under strange circumstances (stress test, malformed packets, …).
To fix this problem, we can install more using the command below.
sudo apt-get -y install mz
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mz.
sudo apt -y install mz
Or if you have aptitude installed you can use the following command.
sudo aptitude install mz
Summary
In this tutorial we learn how to fix mz command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.