How to count the number of lines containing a given sequence of characters in a given file. Suppose there is a file in the home directory info.txt it contains the following lines:
- linux good
- linux good
- linux best
- linux cool
How to find out the number of lines. Where does the word good meet?