What is "grep"
grep is a command-line application for Unix/Linux systems that searches the contents of files (or input) for lines that respect the mentioned regular expression. All lines found are shown in the standard output (usually the monitor). This program is also available for use in Windows environment through the Cygwin tool library, the gnuwind32 project and other commercial variants.
Link to official page: Link