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

File Operations: Copy, Move & Remove

Beginner15 min0/3 activities

Back up a directory, rename a file and clean up junk - the three operations you do every day.

Activities

  1. 01Copy /opt/src to /opt/backup (recursively)

    The backup must contain main.txt.

  2. 02Rename /opt/src/old.txt to /opt/src/renamed.txt

    The old name must be gone and the new one present.

  3. 03Delete /opt/src/temp.log

    Remove the noise file permanently.

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