0

How to Print the First Match and Stop With Grep

How to Print the First Match and Stop With Grep
grep is a search utility in Linux used for matching content. By default, it will print out any line that matches, which might include a lot of output. If you only care about the first match, you can limit the output to just the first line.

Read This Article on How-To Geek ›