nerdexam
CompTIA

XK0-001 · Question #9

A new shell command is installed and does not perform correctly. It generates too much diagnostic output to read on the screen and does not write to a log file. Which of the following would capture…

The correct answer is D. Add redirection to the command line. See the full explanation below for the reasoning.

Question

A new shell command is installed and does not perform correctly. It generates too much diagnostic output to read on the screen and does not write to a log file. Which of the following would capture the output for evaluation? CompTIA XK0-001 Exam

Options

  • ARun the command as a daemon.
  • BMake changes to /etc/syslog.conf
  • CRun the command in the background.
  • DAdd redirection to the command line.

How the community answered

(24 responses)
  • A
    13% (3)
  • B
    8% (2)
  • C
    4% (1)
  • D
    75% (18)

Community Discussion

No community discussion yet for this question.

Full XK0-001 Practice