fd is a simple, fast, and user-friendly alternative to find. It provides sensible defaults, colorized output, and smart case handling while remaining significantly faster than traditional find.
📑 Table of Contents
Key Features
- Speed: Faster than GNU find
- Smart Case: Case-insensitive by default
- Colorized Output: Easy-to-read results
- Gitignore Support: Respects .gitignore
- Regex: Full regex pattern support
Installation
Install fd on Ubuntu:
sudo apt install fd-find
# Binary is named fdfind
alias fd="fdfind"
Usage Examples
Common fd commands:
# Find by name
fd readme
# Find by extension
fd -e py
# Find directories only
fd -t d config
# Find and execute
fd -e txt -x wc -l {}
# Include hidden files
fd -H .bashrc
# Exclude patterns
fd -E node_modules webpack
Benefits
fd brings modern usability to file finding. Its intuitive interface and excellent performance make it the preferred choice for command-line file search.
Was this article helpful?