nerdexam
LPI

117-010 · Question #46

You have a program called /usr/bin/foo. You wish to create a symbolic link, /home/user/foo, that points to it. Which command will do this task?

The correct answer is B. ln -s /usr/bin/foo /home/user/foo. See the full explanation below for the reasoning.

Question

You have a program called /usr/bin/foo. You wish to create a symbolic link, /home/user/foo, that points to it. Which command will do this task?

Options

  • Aln -sym /home/user/foo /usr/bin/foo
  • Bln -s /usr/bin/foo /home/user/foo
  • Cln /home/user/foo /usr/bin/foo
  • Dln /usr/bin/foo /home/user/foo
  • Eln --symlink /home/user/foo /usr/bin/foo

How the community answered

(40 responses)
  • A
    3% (1)
  • B
    78% (31)
  • C
    13% (5)
  • D
    3% (1)
  • E
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 117-010 Practice