1 votes 1 votes What does the following command do? grep -vn "abc" x It will print all of the lines in the file x that match the search string "abc" It will print all of the lines in file x that do not match the search string "abc" It will print the total number of lines in the file x that match the search string "abc" It will print the specific line numbers of the file x in which there is a match for string "abc" Operating System ugcnetcse-june2015-paper2 operating-system shell-script non-gate + – go_editor asked Jul 30, 2016 • edited May 26, 2020 by Arjun go_editor 2.3k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes ans is B grep(globally search a regular expression and print it) with -v invert match option display those line which do not contain the specified string Sanjay Sharma answered Jul 31, 2016 • edited Jun 17, 2018 by Sanjay Sharma Sanjay Sharma comment Share Follow See 1 comment See all 1 1 comment reply AadilRashid commented Jun 15, 2018 reply Follow Share Thank you for the answer but it cannot be v for verbose that doesn't make sense, it is v for invert-match! 1 votes 1 votes Please log in or register to add a comment.