Simple commands (BASH)

At first, the easiest part, but not less important than other commands.

Files and directories management

Intermediated commands (BASH)

Commands assigned to users, groups and permissions.

Users
sudo

that command allows to users to execute commandlines as superuser (root).

useradd (create users)
sudo
groupadd
chmod
Simple

chmod command simple syntax :

  1. r (read): reading permission
  2. w (write): writing permission
  3. x (execution): execution permission

permissions apply to three entities: user (u), group (g), and others (o).

chmod command octal syntax are specified with octal characters:

4 Reading

2 Writing

1 Execution

permissions apply to three entities contemplating the number and its position (u g o): user (u), group (g), and others (o).