Explore topic-wise MCQs in Unix.

This section includes 10 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 of the following is an archival program?

A. arch
B. archive
C. ar
D. tar
Answer» E.
2.

Which of the following is a better agent than gzip?

A. bzip2
B. bzip2 and bunzip2
C. bunzip2
D. allzip
Answer» C. bunzip2
3.

We can provide multiple filenames as arguments to gunzip.

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

We cannot uncompress files using gzip.

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

Which of the following is used for decompressing files?

A. GZIP
B. gunzip
C. uncmp
D. cmp
Answer» C. uncmp
6.

Which option is used with gzip command for recursive compression?

A. -c
B. -l
C. -d
D. -r
Answer» E.
7.

We can provide original filenames without .gz extension while checking compression ratio using gzip – l?

A. True
B. False
Answer» B. False
8.

Which option is used with gzip command to check compression ratio for files?

A. -l
B. -c
C. -e
D. -x
Answer» B. -c
9.

Which one of the following extension is provided by gzip to the compressed filename?

A. .cm
B. .gz
C. .zip
D. .zp
Answer» C. .zip
10.

Which of the following is used to compress files?

A. cmp
B. gzip
C. gunzip
D. comm
Answer» C. gunzip