Set/Remove Permissions in Bash
This lesson will be covering the command that assists in setting or removing permissions.
We'll cover the following...
chmod
Definition:
chmod
command is short for “change mode”, is typically used to change the read/write permissions of files and directories. A mode can either be represented symbolically with unique alphabets or by the permutations of three numbers (octal numbers) as we discussed in the previous lesson. We can also add references in the command to indicate the users on which the specified permissions are being applied. Given below is the syntax to chmod
command.
Syntax:
chmod
...