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.

ls -s prints the allocated file size in blocks.

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

What does the -S option do in ls command?

A. sorts according to modification time
B. sorts according to last access time
C. sorts according to file size
D. sorts according to inode number
Answer» D. sorts according to inode number
3.

-r option is same as -R option in ls command.

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

$ ls -R outputs all files and subdirectories in a recursive manner.

A. True
B. False
Answer» B. False