CompTIACompTIA
XK0-005 · Question #1748
XK0-005 Question #1748: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #1748. The question stem and answer options stay visible for context.
System Management
Question
A Linux systems administrator needs to compress a file named passwords.txt. The compressed file should be saved as passwords.txt.gz. Which of the following commands should the administrator use to accomplish this task?
Options
- Agzip -c passwords.txt > passwords.txt.gz
- Bgzip -d passwords.txt | passwords.txt.gz
- Cgzip -n passwords.txt > passwords.txt.gz
- Dgzip -n passwords.txt < passwords.txt.gz
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Linux commands#File compression#gzip#Shell redirection