mcd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mcd: command not found
or when using sudo you get the following error message
sudo: mcd: command not found
Solutions to mcd: command not found
How To Fix mcd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mcd is provided by mtools package.
mtools is:
Mtools is a collection of utilities to access MS-DOS disks from Unix without mounting them. It supports Win'95 style long file names, OS/2 Xdf disks, ZIP/JAZ disks and 2m disks (store up to 1992kB on a high density 3 1/2 disk).
Also included in this package are commands to eject and manipulate the write/password protection control of Zip disks.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mtools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mtools.
sudo apt -y install mtools
Or if you have aptitude installed you can use the following command.
sudo aptitude install mtools
Summary
In this tutorial we learn how to fix mcd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.