644Software EngineeringMedium
Which command is used to display all the lines with the string ‘sales’ from the file empl.lst?
Acat | /sales > empl.lst
Bcut sales empl.lst
Cgrep sales empl.lst
D/sales > empl.lst
Correct answer
C. grep sales empl.lst
Explanation
The correct answer is grep sales empl.lst.