Linux: Searching Files and Text with find and grep

Wishlist Share

About Course

Two of the most useful command-line tools on Linux and macOS. Learn to locate files by name, type, age and size with find, search inside files with grep, combine them safely with -exec and xargs, and avoid the classic mistakes – such as a misplaced -delete – that can wipe out data.

Tutwoo is an independent learning provider. This course is general training based on the GNU manuals. Command options can differ slightly on non-GNU systems such as macOS. It is not an accredited qualification.

© 2026 Tutwoo UK Limited. This course was created in-house by Tutwoo and is our original work. It is for your own learning only: please do not copy, share, record or resell it.

What Will You Learn?

  • Find files by name, type, modification time and size
  • Search file contents with grep, including recursive and case-insensitive searches
  • Combine find and grep safely using -exec, -print0 and xargs -0
  • Avoid destructive mistakes and read grep’s exit status in scripts

Course Content

Course Lessons

  • Finding files with find
  • Searching inside files with grep
  • Combining find and grep – safely

Sources & Further Reading
The official guidance this course is based on.

Final Assessment

Student Ratings & Reviews

No Review Yet
No Review Yet

Want to receive push notifications for all major on-site activities?

✕