|Que.||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 file x that do not match the search string "abc"|
|c.||It will print total no of the lines in file x that match the search string "abc"|
|d.||It will print the specific line numbers of file x in which there is a match for the string "abc"|
|Answer:It will print all of the lines in the file x that match the search string "abc"|
Durga Devi S :(November 28, 2019) above answer is wrong
Right answer is b.
b. It will print all of the lines in file x that do not match the search string "abc"
|Click Here to Reply|
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here
List - I List - II
(a) Boot block (i) Information about file system
(b) Super block (ii) Information about file
(c) Inode table (iii) Storage space
(d) Data block (iv) Code for making OS ready
(a) (b) (c) (d)
I. It is used to set or change the priority of a process.
II. A process’s nice value can be set at the time of creation.
III. ‘nice’ takes a command line as an argument.
(a) Create - process ()
(b) WaitForSingleObject ()
(c) CreateFile ()
(d) CloseHandle ()
(i) Open ()
(ii) Close ()
(iii) Fork ()
(iv) Wait ()
(a) (b) (c) (d)
I. The process table is resident all the time and contain information needed for all processes, even those that are not currently in memory.
II. The user structure is swapped or paged out when its associated process is not in memory, in order not to waste memory on information that is not needed.
Which of the following options is correct with reference to above statements ?