In Linux, the 'tar' command is used for: MCQ with Answer and Explanation

In Linux, the 'tar' command is used for:
A. Deleting files
B. Copying files
C. Compressing files
D. Archiving files into a single file
Answer: Option D
Solution (By JKSSB Mock Tests)
tar (tape archive) creates archive files (.tar) that bundle multiple files; it can also compress with options like -z for gzip.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
In Linux, what does the command 'ls -l' display?
A. Files sorted by size
B. Only file names
C. Detailed file information including permissions, owner, size, and timestamp
D. Hidden files as well

Correct Answer: Option C


Explanation:
ls -l (long listing) displays permissions, number of links, owner, group, size, date, and filename.

This question belongs to: Computer Operating Systems
Question #2
What is the function of the Android 'WifiManager'?
A. To manage Wi-Fi connectivity, scan networks, and configure connections
B. To manage Bluetooth
C. To manage network preferences
D. To manage cellular data

Correct Answer: Option A


Explanation:
WifiManager provides APIs to enable/disable Wi-Fi, scan for networks, and connect to access points.

This question belongs to: Computer Operating Systems
Question #3
What type of operating system kernel combines the architecture of both monolithic and microkernel designs to achieve a balance of performance and modularity?
A. Nano-kernel
B. Hybrid Kernel
C. Asymmetric Kernel
D. Exokernel

Correct Answer: Option B


Explanation:
A hybrid kernel layout (used by Windows NT family) balances performance and modularity by putting certain services in kernel space while keeping concepts modular.

This question belongs to: Computer Operating Systems