How to: Tips and Tricks

Find files containing searched text

If you want to search all files, which contains searched text, open terminal and type

grep -i -n 'searched text' *

It works also recursively

grep -i -r -n 'searched text' *
  • I use:
    [code]grep –color -IRne “$1” *[/code]