Linux & Command Line

grep

/ɡrep/

Definition

A command-line utility searching text using patterns (strings or regex) and printing matching lines.

Example in context

"grep -r 'TODO' ./src — recursively searches all source files for lines containing the string 'TODO'."

Related terms

Practice this term

Master grep in context by working through exercises in the Linux & Command Line module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.

Frequently Asked Questions

What does "grep" mean?

A command-line utility searching text using patterns (strings or regex) and printing matching lines.

How do you pronounce "grep"?

"grep" is pronounced /ɡrep/.

Can you use "grep" in a sentence?

"grep -r 'TODO' ./src — recursively searches all source files for lines containing the string 'TODO'."