Navigation & Files

find

Search for a literal text string in a file.

find "error" log.txt

/i ignore case · /c count matches only

Practice line — try it from memory, then reveal

find "error" log.txt

Try it safely

Run find "error" log.txt in the practice shell →

Chapter 9: Seeking Spells. A sandboxed Command Prompt; nothing touches your PC.