fdfind command not found

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

Introduction

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

fdfind: command not found

or when using sudo you get the following error message

sudo: fdfind: command not found

Solutions to fdfind: command not found

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

In Ubuntu fdfind is provided by fd-find package.

fd-find is:

While it does not seek to mirror all of find’s powerful functionality, fd provides sensible (opinionated) defaults for 80% of the use cases.

Features:

  • Convenient syntax: ‘fd PATTERN’ instead of ‘find -iname ‘PATTERN’’.
  • Colorized terminal output (similar to ls).
  • It’s fast, often faster than find.
  • Smart case.
  • Ignores hidden directories and files, by default.
  • Ignores patterns from your .gitignore, by default.
  • Regular expressions.
  • Unicode-awareness.
  • Parallel command execution with a syntax similar to GNU Parallel.

Please note: the executable and the associated manpage were renamed from ‘fd’ to ‘fdfind’ because of a file name clash.

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

sudo apt-get -y install fd-find

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

You can also use apt command to install fd-find.

sudo apt -y install fd-find

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

sudo aptitude install fd-find

Summary

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