Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cyber Security Cards › Revision Cards

Linux Cheat Sheet

Linux Cheat Sheet A quick revision of the key Linux commands for defenders. Packages and services ( yum / apt , service ). Logs, search ( grep ), permissions, processes, SSH and SCP. These are a defender’s daily tools: read logs, check users, fix permissions. Amazon Linux: sudo yum + sudo service .

Linux Cheat Sheet A quick revision of the key Linux commands for defenders. Packages and services ( yum / apt , service ). Logs, search ( grep ), permissions, processes, SSH and SCP. These are a defender’s daily tools: read logs, check users, fix permissions. Amazon Linux: sudo yum + sudo service .
Linux Cheat Sheet · Download PNG
Read card text

What this card says

What it is

A quick revision of the key Linux commands for defenders.

Key areas

Packages and services (yum/apt, service).

Logs, search (grep), permissions, processes, SSH and SCP.

Why it matters for security

These are a defender’s daily tools: read logs, check users, fix permissions.

Amazon Linux: sudo yum + sudo service. Ubuntu names can differ.

Red team (attacker) doesBlue team (defender)…
Brute SSH password on open port 22Keys-only sshd; fail2ban; SG restrict source; lastb review
Leaves world-writable web configsls -la; chmod 640 secrets; non-root owner
Skips sudo yum update so old daemons stay openPatch cadence; yum check-update; remove unused packages
Binds MySQL/SSH to 0.0.0.0 “for convenience”ss -tulpn; bind localhost where possible; firewalld drop

Learn more in the lesson: 49.2 Linux Cheat Sheet

See all Ravi Sir's Cyber Security Cards