Skip to content

05 · Linux Administration and Troubleshooting

Level: Beginner–Intermediate · Study time: 35–60 minutes

Explain commands through the question they answer, with read-only diagnosis before changing a service.

Handbook contents

Know process and user identity, path semantics, permission bits, service management and system logs.

Commands such as ps, ss, df, free and journalctl reveal different aspects of host state.

File permissions depend on owner, group and mode; blindly making files world-writable creates avoidable risk.

Preserve evidence and review change history before restarting services or changing firewall rules.

A systemd service fails immediately after a release. The operator checks status, journal entries, unit dependencies, port conflicts and the last known good version.

Answer structure: restate the requirement; identify scope, constraints and risk; choose a test or decision; verify evidence; communicate the outcome.

  1. State what ‘systemctl status’ shows.
  2. Differentiate df -h from memory checks.
  3. Explain chmod versus chown.
  4. Write a non-destructive service triage runbook.

Use only your own equipment, public documentation and authorized or synthetic environments. If you have only studied a technology, describe it accurately as study experience.

  1. Why not immediately restart a failed service?

    Show a model answerIt may hide evidence or worsen impact; first determine criticality and collect relevant facts.
  2. What does df -h report?

    Show a model answerFilesystem space usage, not CPU or memory capacity.

A safe Linux triage runbook.

In a short write-up, include what you know, what you tested, what you inferred and what you could not verify.

← Networking DNS TCP and HTTPS All chapters Windows Active Directory and PowerShell →