nerdexam
CompTIA

XK0-006 · Question #132

A Linux administrator is creating a symbolic link /home/docs leading to the /usr/share/documents/ directory. Which of the following commands allows the administrator to achieve this goal?

The correct answer is B. ln -s /usr/share/documents /home/docs. This command creates a symbolic link at the specified path that points to the target directory, allowing access to the target through the new link location.

System Configuration and Management

Question

A Linux administrator is creating a symbolic link /home/docs leading to the /usr/share/documents/ directory. Which of the following commands allows the administrator to achieve this goal?

Options

  • Alink /usr/share/documents /home/docs
  • Bln -s /usr/share/documents /home/docs
  • Crsync /usr/share/documents /home/docs
  • Dlsof /usr/share/documents /home/docs

How the community answered

(18 responses)
  • B
    89% (16)
  • C
    6% (1)
  • D
    6% (1)

Explanation

This command creates a symbolic link at the specified path that points to the target directory, allowing access to the target through the new link location.

Topics

#symbolic links#ln -s#filesystem#soft link

Community Discussion

No community discussion yet for this question.

Full XK0-006 Practice