Practical `find` usage (bash)

Опубликовано: 16 Июль 2026
на канале: MattJ
33
0

Examples of how to use the `find` bash command, optionally with `-name` and `-regex` arguments, to search for directories and files on your computer.

-- CHAPTERS --
0:00 - intro
0:35 - base usage
1:14 - `-name` usage
2:48 - `-regex` usage

-- Matt's rant --

I heavily dislike how when I'm learning new concepts, whether it's Java multithreading syntax, C++ macros, the Model-View-Controller framework, or anything else, I seem to only be able to find:

1. A hopelessly-vague high level explanation of said concept.
2. A full blown manifesto of every unapplicable nook and cranny of the concept.

The first case tries its best to say nothing wrong and in doing so says nothing at all. The second case stays willfully unopinionated, telling you nothing about how the average SWE uses the technology.

In both cases, I've been frustrated by the lack of a practical approach -- an approximate explanation with the "80% of the time" example, that may lose some rigor or detail compared to documentation but more than makes up for it in practical value. An approximate explanation gets your foot in the door and, in my experience, makes later learning much easier.

This video and others in the series attempt to bridge that gap and give the practical approach that official sources are so reluctant to provide.