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.)
A) sudo ln -s /opt/occmd/bin/occmd /usr/local/bin/occmd
B) echo "export PATH=$PATH:/opt/occmd/bin" >> ~/.bashrc
C) mv /opt/occmd ~/ && ln -s ~/occmd/bin/occmd ./occmd
D) echo "#!/bin/bash \n ${which occmd}" > /usr/bin/occmd.sh
E) sudo mv /opt/occmd/bin/occmd /etc/bin/
F) cd /opt/occmd/bin && chmod +x ./occmd && restorecon -rv *
Correct Answer:
Verified
Q194: An administrator notices that a long-running script,
Q195: A file server is sharing a directory
Q196: A new user has been added to
Q197: A systems administrator is implementing disk quotas
Q198: An administrator is reviewing updates in the
Q200: Joe, a user, reports that he is
Q201: A systems administrator documents the instructions on
Q202: A junior systems administrator needs to make
Q203: A Linux administrator receives a call from
Q204: The following represents a partial listing of
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents