Level 1
0 / 100 XP

Welcome

1234567

grep searches inside files. find searches for files — it walks a directory tree and lists everything matching your criteria, no matter how deep it's buried. When you know a file exists somewhere but not where, find is the answer.

You'll practice:

  • find PATH -name — search by exact name
  • find with wildcards — match patterns like *.log
  • -type f — only files
  • -type d — only directories

Your projects folder has a small tree: some .txt files, a logs/ folder with .log files, and a src/ folder with Python files nested inside. Move into projects first.

Restoring lab progress…