______ option counts the number of lines containing the pattern?
______ option counts the number of lines containing the pattern? Correct Answer -c
The -c option when used with grep command, counts the number of lines containing the pattern (which is not same as the number of occurrences of the pattern). For example, $ grep -c ‘director’ emp.lst 4 // 4 lines contain the pattern ‘director’
মোঃ আরিফুল ইসলাম
Feb 20, 2025





