grep
| grep | |
|---|---|
Example of grep command | |
| Original author | Ken Thompson |
| Developer | AT&T Bell Laboratories |
| Initial release | November 1973 |
| Written in | C |
| Operating system | Unix, Unix-like, Plan 9, Inferno, OS-9, MSX-DOS, IBM i |
| Type | Command |
grep is a command-line utility for searching text for lines that match a regular expression. Its name comes from the ed command g/re/p (global, regular expression, print), which has the same effect. grep was originally developed for the Unix operating system, and is commonly available on Unix-like and some other systems such as OS-9. The shell command that runs the utility has the same name: grep.