Oct 25, 2018, 10:00 (Other stories by Linuxize)
The grep command which stands for ‘global regular expression print’ is one of the most powerful and commonly used commands in Linux. Grep searches one or more input files for lines that match a given pattern and writes each matching line to standard output. If no files are specified, grep reads from the standard input which is usually the output of another command. In this tutorial, we will show you how to use the grep command through practical examples and detailed explanations of the most common GNU grep options.
Related Stories:
- Is Glark a Better Grep?(Aug 10, 2011)
- Colorize grep output(Mar 16, 2009)
- Regular Expressions In grep(Feb 18, 2010)
- Grep command in Linux explained(Jun 29, 2010)
- Grep the Web(Sep 02, 1999)
- 5 grep like commands(Jun 09, 2011)
- grep Is A Beautiful Tool(Jul 15, 2008)
- Linux Newbie : Why grep almost never yields something productive(Feb 04, 2010)