What does the following command do ? grep − vn "abc" x

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
What does the following command do ?
grep − vn  "abc" x

1. It will print all of the lines in the file x that match the search string "abc"

2.It will print all of the lines in file x that do not match the search string "abc"

3.It will print total no of the lines in file x that match the search string "abc"

4.It will print the specific line numbers of file x in which there is a match for the string "abc"


More MCQS Questions and answers

R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!