Linux OS Editors Question:

Which option is used by sed to specify that the following string is an instruction or set of instructions?
a) -n
b) -e
c) -f
d) -i

Linux Editors Interview Question
Linux Editors Interview Question

Answer:

a) -n


Previous QuestionNext Question
The command "sed -n '/google/p' old.txt" will:
a) print the lines containing the word 'google' in file old.txt
b) delete the lines containing the word 'google' in file old.txt
c) will generate an error message
d) none of the mentioned
Which vi editor command copies the current line of the file?
a) yy
b) yw
c) yc
d) none of the mentioned