The grep is a tool used to query informations.It's usage as follows:
First,you should execute a command.Because the grep command's input is another program's output.
Second.Leave a space between the first command and the "|",the type grep ***.*** is the word you are searching for.
Third,if grep find the word you want,it will display the result related to the word.