Try GOLD - Free
A modern find command User-Friendly Search
Linux Magazine
|#293/April 2025: Trojan Horse
An update for the find command, fd offers significant improvements with many user-friendly options.

Linux has never lacked for search commands. Commands such as grep and find date back to the early days of Unix, and their options make for lengthy man pages. However, if such commands have a weakness, it would be their reliance on regular expressions, a pattern-matching system that is an art in itself, but one that fewer and fewer users today seem to have much fluency in. Because of this problem, the modern fd command (aka fdfind) [1] is an increasingly popular alternative to find and already available in many distributions. It is not that fd does not support regular expressions – in fact, it also supports Rust’s Glob, as well as the use of both regular expressions and Glob in the same command. However, just as find includes more user-friendly options than grep, so fd includes more than either of its older predecessors.

The basic command depends on the distribution. In Arch Linux, it is fd, while Debian uses fdfind. In either case, fd is followed by options and a search string, as you would expect (Figure 1).
Should you type incorrectly, the help is concise and to the point (Figure 2). Its output can include both file and directory names, different file types, and attributes, depending on the options chosen. Complete coverage of fd’s other options would be impractically long, let alone for the regex syntax or Glob, so I will provide a brief overview of the general categories available.

File Attribute Options
This story is from the #293/April 2025: Trojan Horse edition of Linux Magazine.
Subscribe to Magzter GOLD to access thousands of curated premium stories, and 9,500+ magazines and newspapers.
Already a subscriber? Sign In
MORE STORIES FROM Linux Magazine
Linux Magazine
Exercise Place
The GRUB 2 boot manager might seem intimidating at first glance. All the more reason to spin up a virtual playground so you can practice.
10 mins
#298/September 2025: Indie Game Studio
Linux Magazine
Terminal Mosaic
What's better than one command line? Many command lines that never die. Take the terminal to new places with Zellij.
9 mins
#298/September 2025: Indie Game Studio

Linux Magazine
MakerSpace
Build a Long-Range Sensor Network with ChirpStack Sensor Symphony
14 mins
#298/September 2025: Indie Game Studio

Linux Magazine
How Flatpak, AppImage, and Snap are changing software distribution Ship It!
Modern-day package systems solve some problems posed by classic formats like DEB and RPM. We look at Flatpak, AppImage, and Snap and describe how they differ.
12 mins
#298/September 2025: Indie Game Studio

Linux Magazine
Dashboard Delight
Simplify the chaos of self-hosted services with Homepage, a customizable dashboard with widgets that put service statistics at your fingertips.
9 mins
#298/September 2025: Indie Game Studio

Linux Magazine
MADDOG'S DOGHOUSE
Free software, and the FOSS community, can help technology students get the education they desire in Brazil and elsewhere.
3 mins
#298/September 2025: Indie Game Studio

Linux Magazine
Rethinking the Terminal
The Warp AI agent takes the guesswork out of working at the command line. We show you how to build a simple website with one prompt.
4 mins
#298/September 2025: Indie Game Studio
Linux Magazine
Just in Time
Just is a command runner that lets you define project-specific tasks in a declarative justfile.
7 mins
#298/September 2025: Indie Game Studio

Linux Magazine
The Watcher
This versatile security app checks for vulnerabilities, watches logs, and acts as a single interface for other tools.
7 mins
#298/September 2025: Indie Game Studio

Linux Magazine
NO INTERNETREQUIRED
This new utility lets you update a system that is notconnected to the Internet.
4 mins
#298/September 2025: Indie Game Studio
Listen
Translate
Change font size