Explore topic-wise MCQs in Unix.

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

1.

pwd and echo $HOME will display the same output.

A. True
B. False
Answer» C.
2.

For creating or removing directories, the user must be positioned above the directory or in the parent directory of the directory, on which the operation is to perform.

A. True
B. False
Answer» B. False
3.

Multiple directories can be removed using single rmdir command.

A. True
B. False
Answer» B. False
4.

Sometimes we are unable to create a directory because ______________

A. the directory may already exist in the current directory
B. there may be an ordinary file by the same name in the current directory
C. the permissions set for the current directory does not allow the creation
D. the directory may exist, there may be an ordinary file, the permissions set for the current directory does not allow the creation
Answer» E.