

MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Unix knowledge and support exam preparation. Choose a topic below to get started.
1. |
*_AND_?_CANNOT_MATCH_____?$ |
A. | / |
B. | $ |
C. | . |
D. | / and . |
Answer» C. . | |
2. |
Which of the following command will list all the hidden filenames in our directory having at least three characters after the dot (.)? |
A. | ls |
B. | ls -a |
C. | ls .???* |
D. | ls * |
Answer» B. ls -a | |
3. |
Which of the following files will not be deleted using “rm chap??” ?$ |
A. | chap01 |
B. | chap02 |
C. | chaptd |
D. | chactd |
Answer» E. | |
4. |
rm dir? |
A. | rm dirx diry dirz dirzw |
B. | rm * |
C. | rm dir* |
Answer» D. | |
5. |
Which of the following is not a wild-card? |
A. | * |
B. | ? |
C. | $ |
D. | % |
Answer» D. % | |
6. |
Wildcards are special characters which are used to replace or represent one or more characters. |
A. | True |
B. | False |
Answer» B. False | |