Question: What does the following command mean? rep - c cat word.txt Searches for files that contain cat Print the matched lines which contains cat Print

What does the following command mean?
rep -c "cat" word.txt
Searches for files that contain "cat"
Print the matched lines which contains "cat"
Print the number of lines which matches "cat"
Print the matched line and 3 lines before/after it
 What does the following command mean? rep -c "cat" word.txt Searches

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!