Linux Command Security Cheat Sheet

Browse interactive, searchable commands for server audit reviews, netstat routing checks, and logs auditing.

How It Works

  1. Search or filter through categorized Linux command references: System Hardening, User Audits, Network Sockets, File Integrity, and Log Investigation.
  2. Each command includes syntax examples, security explanations, and one-click copy functionality.
  3. Covers modern utilities (ss, journalctl, find, chmod, ufw) as well as legacy forensics tools.

Primary Use Cases

Common Security Pitfalls

Frequently Asked Questions

What is the command to check all listening TCP ports on Linux?
'ss -tuln' or 'ss -tulpn' (with sudo) lists all listening TCP and UDP sockets with their associated process names and PIDs.
How do you search for files modified in the last 24 hours in Linux?
'find / -mtime -1 -ls' searches the filesystem for files modified within the past 24 hours, essential for identifying attacker drops.

References & Standards