Finding Files with find
find searches a folder and everything inside it. Give it a starting point, then filters: -name matches file names (with * as a wildcard) and -type f or -type d picks files or directories.
. means "the current folder". The pattern "*.txt" is in quotes so the terminal passes it to find as is. You can pipe the result onward.
Quick check
Which command lists every `.md` file in the current folder and below?
Your turn: write the code
Create a folder docs containing a.txt and b.md, then use find to print the path of the .txt file.
Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.
Tip: use the left and right arrow keys to move between lessons.