A system administrator needs to inspect the contents of a compressed archive file named app_updates.zip without extracting the files to disk. Which of the following commands will accomplish this?
The correct command to list the contents of a .zip archive without extracting them is unzip -l. The -l option specifically tells the unzip utility to list the files contained within the specified archive. The unzip -t command tests the archive for errors but is not the primary command for simply listing contents. The unzip -c command extracts the files to standard output, which is not what is required. The unzip -d command is used to specify a directory for extraction, not to list the contents.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the `unzip -l` command do?
Open an interactive chat with Bash
How is `unzip -t` different from `unzip -l`?
Open an interactive chat with Bash
What is the purpose of the `unzip -c` command?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access