Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam XK0-005 All Questions
Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

CompTIA Linux+ XK0-005 Question # 107 Topic 11 Discussion

XK0-005 Exam Topic 11 Question 107 Discussion:
Question #: 107
Topic #: 11

A Linux systems administrator is trying to execute a particular shell script on a server. The administrator reviews the following outputs:

shell

$ ./startup.sh

bash: ./startup.sh: Permission denied

$ ls -l startup.sh

-rw-rw-r-- 1 companyabc companyabc 18 October 15:35 startup.sh

Which of the following commands should the administrator use to allow the script to run?


A.

chown rootstartup.sh


B.

chmod 750 startup.sh


C.

chmod -x startup.sh


D.

chmod 400 startup.sh


Get Premium XK0-005 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.