Bird
0
0

You run unzip archive.zip but get an error saying "cannot find or open archive.zip". What is the most likely cause?

medium📝 Debug Q14 of 15
Linux CLI - Archiving and Compression
You run unzip archive.zip but get an error saying "cannot find or open archive.zip". What is the most likely cause?
AThe zip archive is corrupted and cannot be opened.
BYou used the wrong command; unzip cannot extract files.
CThe archive.zip file does not exist in the current directory.
DYou need to use the -r option with unzip to extract.
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the error message

    "cannot find or open archive.zip" means the file is missing or path is wrong.
  2. Step 2: Check command and options

    unzip is correct to extract files; no -r option is needed. Corruption would give a different error.
  3. Final Answer:

    The archive.zip file does not exist in the current directory. -> Option C
  4. Quick Check:

    File missing causes cannot find error [OK]
Quick Trick: Check file exists in current folder before unzip [OK]
Common Mistakes:
  • Assuming unzip command is wrong
  • Using -r option with unzip incorrectly
  • Ignoring file location or name typos

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes