LPI
101-350 · Question #103
You are experimenting with a binary in /tmp/foo.d that expects its configuration file at /etc/foo.conf. You don't want to save it there, but use a symbolic link to /tmp/foo.d/foo.conf instead. Which…
The correct answer is A. ln -s /tmp/foo.d/foo.conf /etc/foo.conf. See the full explanation below for the reasoning.
Question
You are experimenting with a binary in /tmp/foo.d that expects its configuration file at /etc/foo.conf. You don't want to save it there, but use a symbolic link to /tmp/foo.d/foo.conf instead. Which command would accomplish that?
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
(53 responses)- A74% (39)
- B4% (2)
- C8% (4)
- D15% (8)
Community Discussion
No community discussion yet for this question.