LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grep command (https://www.linuxquestions.org/questions/linux-newbie-8/grep-command-365707/)

itz2000 09-21-2005 04:20 PM

grep command
 
what does grep do?

I know it's a noobish question but I couldn't fimd the answer anywhere else...


I always see "X | grep Y"
explaination would be awsome... :]
:newbie:

Gald3r 09-21-2005 04:31 PM

Type man grep at your terminal's window prompt and you will get your answer with details :)

Tinkster 09-21-2005 07:06 PM

In brief: grep searches streams for patterns; the stream
can be a file or another programs output. It does this in
a line-oriented manner: in other words, each line that
matches pattern will be found(displayed) by default.


Cheers,
Tink


All times are GMT -5. The time now is 06:53 AM.