

MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Unix knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which one of the following commands will be used to delete all the instances of string manager in file003? |
A. | 1,$s/manager/ /g |
B. | %s/manager/director/g |
C. | 1,$s/professor/director |
D. | %s/manager/ / |
Answer» B. %s/manager/director/g | |
2. |
Which of the following commands can be used to replace professor with director throughout the whole file? |
A. | 1,$s/professor/director/g |
B. | %s/professor/director/g |
C. | 1,$s/professor/director |
D. | 1,$s/professor/director/g and %s/professor/director/g |
Answer» E. | |
3. |
The target pattern is optional. |
A. | True |
B. | False |
Answer» B. False | |