To assign execute permission to the user (owner) for a file named file01.txt, which of the following command will be used?

To assign execute permission to the user (owner) for a file named file01.txt, which of the following command will be used?
A. chmod u+r file01.txt
B. chmod u+w file01.txt
C. chmod u-x file01.txt
D. chmod u+x file01.txt
 
Answer: d
Explanation: To assign execute permission to the user, above command is stated as follows:
Code:
 u    -  for specifying the category of user.
 +    - for assigning permission.
 x    - to specify execute permission.
 

Tìm kiếm

Back
Top