Bird
0
0

What is the default file extension added by the bzip2 command when compressing a file?

easy📝 Conceptual Q1 of 15
Linux CLI - Archiving and Compression
What is the default file extension added by the bzip2 command when compressing a file?
A.zip
B.bz2
C.xz
D.bz
Step-by-Step Solution
Solution:
  1. Step 1: Understand bzip2 compression output

    The bzip2 command compresses files and appends the extension .bz2 by default.
  2. Step 2: Compare with other compression extensions

    .xz is used by xz, .zip is for zip archives, and .bz is not standard for bzip2.
  3. Final Answer:

    .bz2 -> Option B
  4. Quick Check:

    Default bzip2 extension = .bz2 [OK]
Quick Trick: Remember: bzip2 files end with .bz2 by default [OK]
Common Mistakes:
  • Confusing .bz2 with .xz
  • Thinking .bz is the extension
  • Mixing with .zip format

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes