# How to find a file containing a particular text string

Search all subfirectories recursively

```xml
grep -r "redeem reward" /home/tom/
```

To display only fines names, add -H option, or

```xml
$ grep -H -R vivek /etc/* | cut -d: -f1
```

To ignore case, add -i option.