LPI
117-202 · Question #176
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?
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
How the community answered
(33 responses)- A73% (24)
- B15% (5)
- C3% (1)
- D9% (3)
Community Discussion
No community discussion yet for this question.