How do I find a grep command in Unix?

Ngọc Trâm

New member
How do I find a grep command in Unix?
Answer
To Find Whole Words Only
Grep allows you to find and print the results for whole words only. To search for the word phoenix in all files in the current directory, append –w to the grep command. When –w is omitted, grep displays the search pattern even if it is a substring of another word.
 

Tìm kiếm

Back
Top