MicrolearnENPTES

Find files

Lesson 11 of 20 · Term.Micro

find searches names and types in a whole tree.

find . -name "*.jpg" walks the current folder (.) and everything below it, printing paths whose name matches. Quote the pattern so the shell passes it unchanged.

Check yourself

Which command lists every folder under projects?

Do it in the browser: a real the Linux terminal tool, a short mission and instant feedback. No install.

Start this lesson — free
← Search text with grepCount and sort →

All lessons · Term.Micro