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.
Report an error
The more specific you are, the faster it gets fixed. A source beats an opinion.
Prefer email? [email protected]
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.
Discussion
Stuck on an option, or know a faster way to get there? Ask or explain it here.
No comments yet. Be the first to explain this one.
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.
More Software Development Lifecycle questions
What command is used to set user and group quotas ?
Which command is used to copy all files having the string chap and any two characters after that to the progs directory ?
Which command is used to count just the number of characters in a file?
Which of the following subdirectory(ies) contains the device files ?
Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3 ?
What command is used to compare the files ?