Given a file find the count of lines containing word “ABC”.

grep –c  “ABC” file1

Related Questions

Category: Shell Scripting Interview Questions.