Question: how to use fgrep in c?
Answer: -c : It is used to print only a count of the lines which contain the pattern.
-h : Used to display the matched lines.
-i : During comparisions, it will ignore upper/lower case distinction.
-l : Used to print the names of files with matching lines once, separated by new-lines.