← Useful Tips
Linux / WSLLinux

grep -Rni "ERROR" .: Search a project recursively for errors with line numbers

Use grep -Rni "ERROR" . to search a project recursively for errors with line numbers. It is especially handy when you live in terminals and repeat long commands.

grep -Rni "ERROR" .

Why it helps

Use grep -Rni "ERROR" . to search a project recursively for errors with line numbers. It is especially handy when you live in terminals and repeat long commands.

How to use it

  1. Open the relevant app or terminal.
  2. Use the shortcut or command above in the relevant context.
  3. Check the result; for commands that change data, test on a small example first.
People also search for
grep -Rni "ERROR" .: Search a project recursively for errors with line numbersgrep -Rni "ERROR" .search a project recursively for errors with line numbershow to search a project recursively for errors with line numbersLinux / WSL search a project recursively for errors with line numbers

Related tips