Wednesday, July 20, 2011

How to search for files using the Linux CLI

I navigated to the directory that I knew the files with the text I wanted to search was and I entered this command:

$ grep -r fizz *

The following command returned more results because it ignored case distinctions:

$ grep -ri buzz *

No comments: