Moderate

What command is used to assign executable permission to the owner of the file named "letter" ?

Correct answer: B. chmod u + x letter

  • A. chmod ugo + x letter
  • B. chmod u + x letter
  • C. chmod u + w letter
  • D. chmod g + x letter

Explanation

In `chmod`, `u` identifies the file owner and `+x` adds execute permission, giving `chmod u+x letter`. The other choices either affect all users, add write permission, or target the group.

Last updated

Practise Software Development Lifecycle

423 free Software Development Lifecycle MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions