What does grep command do in Linux?

Mỹ Duyên

New member
What does grep command do in Linux?
Answer
Grep is an essential Linux and Unix command. It is
used to search text and strings in a given file
. In other words, grep command searches the given file for lines containing a match to the given strings or words. It is one of the most useful commands on Linux and Unix-like system for developers and sysadmins.
 

Tìm kiếm

Back
Top