grep is a super useful command for the developers who prefer to use terminal to find things. The command grep stands for global regular expression point. This grep command is used to find a match of the supplied pattern.
Following are some really useful grep command:
$ grep -c '<pattern>' <filename>.xml