尋找目錄下的哪些檔案內容有包含特定文字

| 0 Comments| | 19:34
Categories:
grep -r word *

This command will find all occurrences of “word” in all the files under the current directory (or sub-directories).

Source: How to find a text file which contains a specific word inside (not in its name)

Leave a Reply

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *