Linux command line for security: permissions, processes, logs

9 steps · about 8 h 40 min · Beginner

  1. Learn Linux for Beginners: From Basics to Advanced Techniques [Full Book] (guide, freeCodeCamp, 1 h 30 min)

    Fills in the fundamentals (users, sudo, chmod and more) before you apply them to security tasks.

  2. 50+ Essential Linux Commands: A Comprehensive Guide (tutorial, DigitalOcean, 30 min)

    A quick reference for the chmod, chown, ps, kill, journalctl and lsof commands used in the rest of the list.

  3. Linux Command Line for Beginners: Practical Steps (tutorial, MetaCyberGuru, 30 min)

    Practises inspecting before changing: reading ls -l permissions, using chmod u+x, and checking processes and logs without reaching for 777.

  4. Reading Linux Logs: journalctl, auth.log & syslog (interactive, Hacking Path, 25 min)

    Teaches the key log files and the grep patterns that spot brute-force logins and sudo activity.

  5. How To Monitor System Authentication Logs on Ubuntu (tutorial, DigitalOcean, 30 min)

    Goes deeper on authentication logs, login history and tools like fail2ban.

  6. Linux Log Files: journalctl Tutorial for Sysadmins (tutorial, Read The Manual, 25 min)

    Adds journalctl filtering by service and time, so you can investigate on systemd machines.

  7. How to Analyze Linux Logs in /var/log and journalctl (tutorial, CubePath Docs, 30 min)

    Combines grep, sort and uniq into one-liners that rank attacking IPs and invalid usernames.

  8. OverTheWire: Bandit (interactive, OverTheWire, 4 h)

    A free wargame that makes you use permissions, users, cron and SSH on a real server to find each next password.

  9. OverTheWire Wargames: Complete Beginner Guide in 2026 (guide, HackerDNA, 20 min)

    Explains what each stage of Bandit teaches and which wargames to try next.