CompTIA
XK0-004 · Question #427
XK0-004 Question #427: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-004 to reveal the answer and full explanation for question #427. The question stem and answer options stay visible for context.
Question
An administrator wrote the following script, but it failed: Which of the following is MOST likely the error in the script?
Exhibit
Options
- ALine 1 should read: #!/bin/sh
- BLine 4 should read: for line in $ { FILES}
- CLine 6 should read: OWNER-'ls -1 ${LINE} I cut -d " " -f 1'
- DLine 7 should read: echo '$(line) - S{OWNER)'
Unlock XK0-004 to see the answer
You've previewed enough free XK0-004 questions. Unlock XK0-004 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.
