Linux • Updated Feb 15, 2026

Linux Triage Commands

Practical commands for fast on-host triage during IR.

Linux linux dfir triage

Process and persistence

Terminal window
ps auxf
systemctl list-units --type=service --state=running
crontab -l
ls -la /etc/cron.*

Info Prefer capturing command output to a timestamped file rather than copy/paste.

Network

Terminal window
ss -tulpen
ip a
ip r
lsof -i -n -P | head

Auth and logs

Terminal window
last -a | head
journalctl -S "-2h" --no-pager | tail -200
grep -R "Accepted" /var/log/auth.log | tail -50