Skip to content
zero2vibecodelearn vibe coding

What grep -rni does

grep -rni error .: Find text in every file recursively, ignoring case, with line numbers.

The grep command page covers what it does in general, with an example.

grep-rnierror.
  • grep— command — find lines matching a pattern
  • -rni— flags — -r: search every file inside the folder, recursively; -n: with line numbers; -i: ignore case
  • error— argument: a file, a folder, or text
  • .— argument: a file, a folder, or text

Run it yourself

The same files. Nothing here can break, and nothing leaves your browser.

Explain other commands

Written by Mikhail Kuzmitskii