nerdexam
LPI

202-450 · Question #176

202-450 Question #176: Real Exam Question with Answer & Explanation

The correct answer is A. Add the command to /etc/rc.local. See the full explanation below for the reasoning.

Question

An administrator wants to issue the command echo 1 >/var/ log/boater.log once all of the scripts in /etc/rc2.d have been executed. What is the best way to accomplish this?

Options

  • AAdd the command to /etc/rc.local
  • BCreate a script in ~/.kde/Autostart/ and place the command in it
  • CCreate a script in /etc/init.d/ and place a link to it in /etc/rc2.d/
  • DCreate a script in /etc/rc2.d/ and place the command in it

Community Discussion

No community discussion yet for this question.

Full 202-450 Practice