Linuxbeginner1 min read

grep

N/A

grep

grep · N/A · grep · grep · global regular expression print · Linux · cli · search · textLinuxglobal regular expression print

/grep/

Also known as: global regular expression print

Last updated August 8, 2026

Definition

grep searches files or command output for lines matching a text pattern, making it a staple tool for inspecting logs and code on Unix-like systems.

Real-World Example

grep “error” app.log prints every log line that mentions an error so you can debug faster.

References

discuss://translation · public

Translation discussion

Anyone can read and write here. Pick a display name — no email or account. Please keep the thread constructive. Thumb up a rendering you agree with — that helps the editor see consensus; it does not publish the term by itself. You can edit or delete your own comments from this browser; another device or cleared site data cannot.

Community lists who wrote, on which term, and when.

Loading discussion…