Linux Search Pattern Question:

What is the command that can print lines of first file matching with second file?
a) printline
b) cmp
c) com
d) comm

Search Pattern Interview Question
Search Pattern Interview Question

Answer:

d) comm


Previous QuestionNext Question
How do you remove duplicate lines from the file foo using uniq?
a) sort foo | uniq -u
b) sort -u foo | uniq -d
c) sort foo | uniq -c
d) sort foo | uniq -I
Which character to use to escape meaning of special characters in search operations?
a) []
b) ^
c) .
d)