Multiple choice

Which command is used to set permissions like read, write, etc. on a file?

  1. useradd

  2. chmod

  3. changemode

  4. groupadd

  5. cat

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The chmod command changes the access mode of one file or multiple files. The syntax for the chmod command is: chmod [option] mode files. The permission can be set for the user, group and others.