6. What command is used to assign executable permission to the owner of the file named “letter”? A. chmod ugo + x letter B. chmod u + x letter C. chmod u + w letter D. chmod g + x letter E. None of the above

chmod ugo + x letter
chmod u + x letter
chmod u + w letter
chmod g + x letter E. None of the above

Detailed SolutionWhat command is used to assign executable permission to the owner of the file named “letter”? A. chmod ugo + x letter B. chmod u + x letter C. chmod u + w letter D. chmod g + x letter E. None of the above

7. What command is used with file named ‘letter’ to remove the executable permission from the user and assign read permission to the group and others? A. chmod go + x, u – x letter B. chmod g – x, uo + r letter C. chmod go + r, u + x letter D. chmod u – x, go + r letter E. None of the above

chmod go + x, u - x letter
chmod g - x, uo + r letter
chmod go + r, u + x letter
chmod u - x, go + r letter E. None of the above

Detailed SolutionWhat command is used with file named ‘letter’ to remove the executable permission from the user and assign read permission to the group and others? A. chmod go + x, u – x letter B. chmod g – x, uo + r letter C. chmod go + r, u + x letter D. chmod u – x, go + r letter E. None of the above

8. What command is used to assign only read permission to all three categories of the file’letter’? A. chmod u + r, g + r, o – x letter B. chmod ugo = r letter C. chmod a – rw letter D. chmod go + r letter E. None of the above

chmod u + r, g + r, o - x letter
chmod ugo = r letter
chmod a - rw letter
chmod go + r letter E. None of the above

Detailed SolutionWhat command is used to assign only read permission to all three categories of the file’letter’? A. chmod u + r, g + r, o – x letter B. chmod ugo = r letter C. chmod a – rw letter D. chmod go + r letter E. None of the above


Exit mobile version