Script basics · Question 3 of 12

Which command makes script.sh executable for its owner?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • D chmod u+x script.sh

Explanation

chmod changes permissions, u stands for the owner and +x adds the execute permission. -x would remove it, and chown changes the owner.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications