The final part of Linux Fundamentals covers system administration tasks: text editors, process management, scheduled tasks, and package management. These skills are essential for maintaining access, creating persistence, and understanding how targets operate.
Text Editors
Vim for Quick Edits
Even if you prefer nano, learn basic vim commands. Many servers only have vi/vim installed. Also, vim can escape restricted shells sometimes!
Process Management
Scheduled Tasks (Cron)
Cron = Persistence Vector
Attackers use cron for persistence. During defense, check all cron locations for suspicious entries. During offense, writable cron files are privilege escalation opportunities!
Package Management
Service Management
Knowledge Check
Key Takeaways
- nano for easy editing, vim for power and ubiquity
- ps aux shows all processes, kill -9 force-terminates
- Cron schedules tasks - check /etc/cron* for persistence/privesc
- apt (Debian), yum (RedHat) for package management
- systemctl manages services on modern Linux