Having trouble finding a word in multiple files

Ralf Mardorf kde.lists at yahoo.com
Sun Jun 14 08:24:09 UTC 2020


On Sun, 14 Jun 2020 03:53:41 -0400, Pat Brown wrote:
>I've tried a variety of grep commands but I can't find the specific
>word I'm searching for that is in a file or files somewhere in my
>Dropbox folder. The word I'm trying to find is Blowback. Can someone
>please help me with the correct command?

$ mkdir Desktop/.tmp{1,2} 
$ echo ":)" > Desktop/.tmp1/file.txt
$ echo "Blowback" > Desktop/.tmp2/file2.txt
$ grep -r -i blowback Desktop/
Desktop/.tmp2/file2.txt:Blowback




More information about the ubuntu-users mailing list