nerdexam
ExamsXK0-004Questions#102
CompTIA

XK0-004 · Question #102

XK0-004 Question #102: Real Exam Question with Answer & Explanation

Sign in or unlock XK0-004 to reveal the answer and full explanation for question #102. The question stem and answer options stay visible for context.

Question

A Linux administrator wants to obtain a list of files and subdirectories in the /etc directory that contain the word "services". Once the files and subdirectories are discovered, they should be listed alphabetically in the /var/tmp/foundservices file. Which of the following shell scripts will accomplish this task? #/bin/bash A. find /etc -name services | sort > /var/tmp/foundservices

Options

  • B#/bin/bash
  • C#/bin/bash
  • D#/bin/bash

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.

Full XK0-004 Practice