Multiple choice technology operating systems

Which command should be used to give execute access to a file to everybody in the system?

  1. chmod u+c filename

  2. chmod g+x filename

  3. chmod og-rx filename

  4. chmod o+x filename

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

To give execute access to everybody in the system, you need 'chmod o+x filename' which adds execute permission for 'others' (all users except owner and group). Option A has incorrect syntax (u+c doesn't exist), option B only gives execute to group members, and option C removes read and execute from others and group (og-rx). The question specifically asks for execute access for 'everybody', which means all users including others.