Training · Linux fundamentals

The analogy. A city with one rule: everything is an address. Files, disks and even running processes have a path, which is why the same three tools can inspect all of them.

The shell is the classroom: the lecture behind this lab covers the mental model, the commands you are about to use, and the four things that usually go wrong.

Read the lecture before you start
all labs

Linux Permissions

Intermediate20 min0/3 activities

Set precise file permissions and change ownership, exactly as you would on a real server.

Activities

  1. 01Create /opt/app/deploy.sh

    Create the file that will hold your deploy script.

  2. 02Set its permissions to 755

    The file's mode must be exactly rwxr-xr-x.

  3. 03Change the owner of /opt/app/deploy.sh to root:root

    The file's owner and group must both be root.

student@ophir-lab — linux-permissions-01
bash 5.2 · x86_64 (wasm)isolated · no network egress