XK0-005 · Question #1198
XK0-005 Question #1198: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #1198. The question stem and answer options stay visible for context.
Question
A systems administrator downloads an application's source files, compiles the application, and installs it per the application's installation instructions. When trying to run the application, the system states: $ occmd bash: occmd: command not found... Running the locate command shows it does exist in the following location: /opt/occmd/bin/occmd Which of the following should the administrator do to allow the command to run properly? (Choose two.)
Options
- Asudo ln -s /opt/occmd/bin/occmd /usr/local/bin/occmd
- Becho "export PATH=$PATH:/opt/occmd/bin" >> ~/.bashrc
- Cmv /opt/occmd ~/ && ln -s ~/occmd/bin/occmd ./occmd
- Decho "#!/bin/bash \n ${which occmd}" > /usr/bin/occmd.sh
- Esudo mv /opt/occmd/bin/occmd /etc/bin/
- Fcd /opt/occmd/bin && chmod +x ./occmd && restorecon -rv *
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 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.