0%

grep command, which stands for “global regular expression print,” processes text line by line
and prints any lines which match a specified pattern.

To print only the matched part, use -o option

Read more »