Q. What will be printed for the command below?

Code:
$ grep –c “^echo” abc
  • (A) The count of lines that do not contain the pattern echo in file abc
  • (B) The count of lines which begin with the pattern echo in file abc
  • (C) The count of lines that ends with the pattern echo in file abc
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (B) The count of lines which begin with the pattern echo in file abc

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
201
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
91%
Success Rate