"grep"
Written by Pantas Manik on 2:04 PMThis command used to search for information in a file or files. For example, suppose that we have a file named "test" whose contents are
test1 test2
test3 test4
test5 test6
test7 test8
test9 test10
Then we can look up items in our file like this;
% grep test1 test
test1 test2
% grep test3 test
test3 test4
% grep test8 test
test7 test8
For more detail "grep" command you can use:
% man grep
0 comments: Responses to “ "grep" ”