Fundamentals

Viewing Ownership and Permissions The “2” indicates it is owned by two users1

Explaining Modes

Permissions Shorthand2

OctalBinary (rwx)
00 0 0
10 0 1
20 1 0
30 1 1
41 0 0
51 0 1
61 1 0
71 1 1

Snippets

View all users

cat /etc/passwd

Viewing Permissions

ls -l

Changing Permissions

chmod [permissions] [path]

Vocabulary

System Users: Used to running non-interactive or background processes on a system.

Regular Users: Used to log in and run processes interactively.

Superuser: Also known as the root, is the most privileged user in a Linux system.

Group: A collection of multiple users that share the same access privileges.