nerdexam
LPI

101-500 · Question #161

101-500 Question #161: Real Exam Question with Answer & Explanation

Sign in or unlock 101-500 to reveal the answer and full explanation for question #161. The question stem and answer options stay visible for context.

GNU and Unix Commands

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

Unlock 101-500 to see the answer

You've previewed enough free 101-500 questions. Unlock 101-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#symbolic links#ln command#file linking#FHS
Full 101-500 Practice