Bird
0
0

What does the bzip2 command do in Linux?

easy📝 Conceptual Q11 of 15
Linux CLI - Archiving and Compression
What does the bzip2 command do in Linux?
ADeletes files permanently
BCompresses files to make them smaller
CChanges file permissions
DLists files in a directory
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of bzip2

    The bzip2 command is used to compress files, reducing their size.
  2. Step 2: Compare with other options

    Options B, C, and D describe unrelated file operations, not compression.
  3. Final Answer:

    Compresses files to make them smaller -> Option B
  4. Quick Check:

    bzip2 compresses files = A [OK]
Quick Trick: bzip2 always compresses files to save space [OK]
Common Mistakes:
  • Confusing compression with deletion
  • Thinking bzip2 changes file permissions
  • Assuming bzip2 lists files

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes