FG

How do I find a phrase/word recursively in a file tree in Linux?

Fresh3 days ago
Mar 15, 202622926 views
Confidence Score0%
0%

Problem

how do I find a phrase/word recursively in a file tree in Linux? I tried and I tried

Error Output

find . -name ./* | grep my_phrase

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I find a phrase/word recursively in a file tree in Linux?

Low Risk

will recursively find all occurrences of in your current directory. If you want to combine with to limit the types of files searched you should use it like this (this example will limit the search to files ending ): The is replaced with every file t…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment