CompTIA
XK0-004 · Question #385
XK0-004 Question #385: Real Exam Question with Answer & Explanation
The correct answer is B: Chmod u+x script,sh. See the full explanation below for the reasoning.
Question
A Linux administrator needs to change the permission on a script so that the owner has permission to execute. Which of the following BEST accomplishes this task?
Options
- AChmod ug=script,sh
- BChmod u+x script,sh
- CChmod -x script,sh
- DChmod 0644 script,sh
Community Discussion
No community discussion yet for this question.