← All Learning Paths

Linux Systems Engineer

A role path for Linux practitioners: process and I/O internals, shell reliability, permissions, service supervision, and diagnosing resource exhaustion in production.

roleintermediate8 nodes11.83h total

Path overview

面向 Linux 实践者的角色路径:进程与 I/O 内部机制、Shell 可靠性、权限、服务守护,以及生产环境资源耗尽的诊断。

A role path for Linux practitioners: process and I/O internals, shell reliability, permissions, service supervision, and diagnosing resource exhaustion in production.

  1. Adapt "Strict Mode Set EUO Pipefail Trap" to a second input and compare the new output with the behavior described in "Harden shell scripts with set -euo pipefail and an ERR trap, converting silent failures into".

    Completion criteria: Save two runs of "Strict Mode Set EUO Pipefail Trap" side by side — the original input and one changed value — and annotate the line where the output diverges.

    Next step: Signal Handling and Process Control

    ⏱ 0.75h

  2. Execute "Signal Handling and Process Control", change one constant, and describe how the output diverges from "Handles Unix signals in Bash scripts using trap, kill, and wait for graceful shutdown,".

    Prerequisites: Strict Mode Set EUO Pipefail Trap

    Completion criteria: Attach the terminal transcript for "Signal Handling and Process Control": command, exit code, and the printed result you used to confirm "Handles Unix signals in Bash scripts using trap, kill, and wait for graceful shutdown,".

    Next step: Xargs Parallel Job Control Batching

    ⏱ 0.75h

  3. Run the linux systems engineer snippet "Xargs Parallel Job Control Batching", capture stdout, and show which line demonstrates the documented behavior: "Process file batches in parallel with xargs -P and -N, controlling concurrency, preserving".

    Prerequisites: Signal Handling and Process Control

    Completion criteria: Change one constant in "Xargs Parallel Job Control Batching", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: Unix Permissions Calculator

    ⏱ 0.75h

  4. Run two different inputs through "Unix Permissions Calculator" and show where the outputs diverge.

    Prerequisites: Xargs Parallel Job Control Batching

    Completion criteria: Run two inputs through "Unix Permissions Calculator", record both outputs, and show one case where "text to table" changes as expected.

    Next step: Harden a systemd Service Against Crashes and Reboots

    ⏱ 0.25h

  5. Apply "Harden a systemd Service Against Crashes and Reboots" to a linux systems engineer task, checking that "Crashes restart after five seconds, and more than five failures in five minutes stops" appears after the "Configure a systemd unit to survive crashes, detect hangs, restart with backoff, and start" step.

    Completion criteria: Run the steps through "Configure a systemd unit to survive crashes, detect hangs, restart with backoff, and start", paste the command output, and mark the line that matches "Crashes restart after five seconds, and more than five failures in five minutes stops"; then rerun with one parameter changed.

    Next step: Audit and Harden sshd Configuration

    ⏱ 0.5h

  6. Execute "Audit and Harden sshd Configuration" end to end, then repeat the last step with one parameter changed and compare "Harden an SSH daemon without locking yourself out, verifying each change before and after".

    Prerequisites: Harden a systemd Service Against Crashes and Reboots

    Completion criteria: Deliver a transcript of "Audit and Harden sshd Configuration" with each step's command and observed state, ending at "Harden an SSH daemon without locking yourself out, verifying each change before and after".

    Next step: Clean Up Resources on Signal

    ⏱ 0.5h

  7. In the "Linux Systems Engineer" path, implement "Clean Up Resources on Signal" so JSON object: { acquired: string[], signal: TERM | INT } yields {cleanup:[socket,tmpdir,lock],exitCode:143}, including the second sample's edge case.

    Prerequisites: Audit and Harden sshd Configuration

    Completion criteria: Show the test run for "Clean Up Resources on Signal" with two passing samples and one deliberately failing input, with the expected error.

    Next step: Capstone: Linux Systems Engineer

    ⏱ 0.33h

  8. Ship "Accept concurrent TCP connections and read one command per line." from "Build a TCP Key-Value Store Server and Client", then prove it with the project's test suite and an acceptance note.

    Prerequisites: Audit and Harden sshd Configuration, Clean Up Resources on Signal

    Completion criteria: Run the project's test command for "Build a TCP Key-Value Store Server and Client", paste the passing output, and attach the acceptance note for "Accept concurrent TCP connections and read one command per line." with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h