A

Admin • 828.03K Points
Coach

Q. What is the command to grant execution permission on all files and subdirectories in “/home/document/mydirectory”

  • (A) $ chmod –r +x /home/document/mydirectory
  • (B) $ chmod –R +x /home/document/mydirectory
  • (C) $ chmod –f –r +x /home/document/mydirectory
  • (D) $ chmod –F +x /home/document/mydirectory
  • Correct Answer - Option(B)
  • Views: 6
  • Filed under category Linux
  • Hashtags:

Explanation by: Admin
To change the permissions on all files and subdirectories of “/home/document/mydirectory” we use “chmod” command with the option -R:

$ chmod –R +x /home/document/mydirectory

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.