Quelques options intéressantes pour grep :
grep -i bananas foo.txt : insensible à la cassegrep -C 3 bananas foo.txt : affiche 3 lignes avant et après chaque match (-A pour uniquement après, -B pour uniquement avant)grep -v bananas foo.txt : n'affiche que les lignes qui ne matchent pas