Explore topic-wise MCQs in Unix.

This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Unix knowledge and support exam preparation. Choose a topic below to get started.

1.

If there are special characters in a pattern, then we ve to enclose them in ______

A. single quotes
B. double quotes
C. without any quotes
D. all quotes
Answer» C. without any quotes
2.

Which one of the following command will be used for searching director in emp.lst?

A. grep director
B. grep -v director emp.lst
C. grep -director emp.lst
D. grep director emp.lst
Answer» E.