$ grep "error" app.log             # lines containing 'error'
$ grep -i "error" app.log          # case-insensitive
$ grep -n "error" app.log          # show line numbers
$ grep -r "TODO" ./src              # search recursively through a directory
$ grep -v "debug" app.log          # invert match: lines NOT containing 'debug'
