CompTIA
LX0-101 · Question #51
An administrator is experimenting with a binary in /tmp/foo.d that expects its configuration file at /etc/foo.conf. The administrator does not want to save it there, but use a symbolic link to…
The correct answer is A. ln -s /tmp/foo.d/foo.conf /etc/foo.conf. See the full explanation below for the reasoning.
Question
An administrator is experimenting with a binary in /tmp/foo.d that expects its configuration file at /etc/foo.conf. The administrator does not want to save it there, but use a symbolic link to /tmp/foo.d/foo.conf instead. Which of the following commands would accomplish this?
Options
- Aln -s /tmp/foo.d/foo.conf /etc/foo.conf
- Bln /tmp/foo.d/foo.conf /etc/foo.conf
- Cln -s /etc/foo.conf /tmp/foo.d/foo.conf
- Dln /etc/foo.conf /tmp/foo.d/foo.conf
How the community answered
(56 responses)- A82% (46)
- B9% (5)
- C4% (2)
- D5% (3)
Community Discussion
No community discussion yet for this question.