LPI
101-400 · Question #161
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
(29 responses)- A72% (21)
- B10% (3)
- C3% (1)
- D14% (4)
Community Discussion
No community discussion yet for this question.