Grep

Grep is an essential tool for the Linux command line. Below are a few incantations worth remembering.

This first one searches for the search value in files in the local directory and subdirectories (R), lists the filename (H), ignore binary files (I) and show the line number in the file where the match occurred (n)

# grep -nRHI "search value"

Grep (last edited 2024-08-20 15:08:27 by scot)