cdcd command not found

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

Introduction

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

cdcd: command not found

or when using sudo you get the following error message

sudo: cdcd: command not found

Solutions to cdcd: command not found

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

In Ubuntu cdcd is provided by cdcd package.

cdcd is:

cdcd works in two ways, accepting commands directly off the command line or in a query mode similar to other UNIX programs. To pass a command to cdcd, simply run cdcd with the command as the argument (e.g. cdcd play). This is great for using cron and cdcd together to make a CD alarm clock. Or you can run cdcd without arguments and you will be given the cdcd command prompt.

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

sudo apt-get -y install cdcd

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

You can also use apt command to install cdcd.

sudo apt -y install cdcd

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

sudo aptitude install cdcd

Summary

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