PrepAway - Latest Free Exam Questions & Answers

Which of the following commands would accomplish this?

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?

PrepAway - Latest Free Exam Questions & Answers

A.
ln -s /tmp/foo.d/foo.conf /etc/foo.conf

B.
ln /tmp/foo.d/foo.conf /etc/foo.conf

C.
ln -s /etc/foo.conf /tmp/foo.d/foo.conf

D.
ln /etc/foo.conf /tmp/foo.d/foo.conf

3 Comments on “Which of the following commands would accomplish this?

  1. Mahoni says:

    Yes, it is a little bit confusing question. The symbolic link is expected /etc/foo.conf and original file’s expected location /tmp/foo.d/foo.conf as far as I understand. so that the answer is A correct.




    0



    0

Leave a Reply