XK0-005 · Question #607
XK0-005 Question #607: Real Exam Question with Answer & Explanation
The correct answer is A: ln -s /usr/local/bin/app-a /usr/local/share/app-a. To create a symlink for /usr/local/bin/app-a, which was installed in /usr/local/share/app-a, the administrator can use the command ln -s /usr/local/share/app-a /usr/local/bin/app-a (A). This will create a symbolic link named /usr/local/bin/app-a that points to the original file /
Question
A Linux administrator needs to create a symlink for /usr/local/bin/app-a, which was installed in /usr/local/share/app-a. Which of the following commands should the administrator use?
Options
- Aln -s /usr/local/bin/app-a /usr/local/share/app-a
- Bmv -f /usr/local/share/app-a /usr/local/bin/app-a
- Ccp -f /usr/local/share/app-a /usr/local/bin/app-a
- Drsync -a/usr/local/share/app-a /usr/local/bin/app-a
Explanation
To create a symlink for /usr/local/bin/app-a, which was installed in /usr/local/share/app-a, the administrator can use the command ln -s /usr/local/share/app-a /usr/local/bin/app-a (A). This will create a symbolic link named /usr/local/bin/app-a that points to the original file /usr/local/share/app-a.
Topics
Community Discussion
No community discussion yet for this question.