A junior Linux administrator is setting up system-wide configuration settings. The goal is to ensure the PATH environment variable includes the following locati...


CompTIA XK0-004 Exam

Questions Number: 24 out of 180 Questions
13.33%

Question 24
A junior Linux administrator is setting up system-wide configuration settings. The goal is to ensure the PATH environment variable includes the following locations for all users who log into a Linux system:
Image XK0-004_24Q.png related to the CompTIA XK0-004 Exam
A. Update the /etc/profile.d file using a text editor, navigate to the PATH element, add the missing locations, and run the bash_completion.sh script to update the changes.
B. Update the /etc/profile file using a text editor, navigate to the PATH element, add the missing locations and run the . /etc/profile command to update the changes.
C. Update the /etc/profile.d file using a text editor, navigate to the PATH element, add the missing locations, and reboot to update the changes.
D. Update the /etc/profile file using a text editor navigate to the PATH element, add the missing locations, and restart the bash process to update the changes.




Previous Questions Next Questions