Grep
A command-line utility for searching plain-text data for lines that match a regular expression or fixed string.
Grep (Global Regular Expression Print) is a powerful command-line utility used to search through text files and streams for lines that match a specified pattern. Originally written for Unix, grep is available on all Linux distributions and is one of the most frequently used commands in day-to-day system administration and development. It supports basic regular expressions by default, with extended regular expressions available via the -E flag (or the egrep variant). Grep can search single files, multiple files, entire directory trees recursively, and can be combined with other commands through pipes. Common use cases include searching log files for errors, filtering command output, finding configuration values, and processing text data. Modern alternatives like ripgrep offer faster performance, but grep remains the universal standard.