Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

grep

< >

grep is an open source programming language created in 1974.

#849on PLDB 50Years Old
Leet SheetWikipediaDocs

grep is a command-line utility for searching plain-text data sets for lines that match a regular expression. Its name comes from the ed command g/re/p (globally search a regular expression and print), which has the same effect: doing a global search with the regular expression and printing all matching lines. Grep was originally developed for the Unix operating system, but later available for all Unix-like systems.. Read more on Wikipedia...


Example from Wikipedia:
$ grep root /etc/passwd root:x:0:0:root:/root:/bin/bash operator:x:11:0:operator:/root:/sbin/nologin $ grep -n root /etc/passwd 1:root:x:0:0:root:/root:/bin/bash 12:operator:x:11:0:operator:/root:/sbin/nologin $ grep -c false /etc/passwd 7

- Build the next great programming language Add Issues About Search Keywords Livestreams Labs Resources Acknowledgements

Built with Scroll v148.1.0