Wednesday 16 December 2015

Q39,p2,j15. What does the following command do?

grep  -vn "abc" x.
a) It will print all of the lines in the file x that match the search string "abc".
b) It will print all of the lines in the file x that do not match the search string "abc"
C) It will print the total number of lines in the file x that match the string "abc".
D)It will print the specific line number of file x in which there is a match for string "abc".

Answer B.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.