Find SUID/SGID binaries linux
Locate setuid/setgid executables (security audit)
find / -perm /6000 -type f -ls 2>/dev/null
more linux
all 133 commands →
Find process by name
pgrep -la nginx
Kill process tree
kill -TERM -$(pgrep -f 'my-app')
Change process priority
renice -n 10 -p <pid>
Limit process resources (cgroup)
systemd-run --scope -p MemoryMax=512M -p CPUQuota=50% -- ./heavy.sh
Query journald with time range
journalctl --since '2024-01-15 10:00' --until '2024-01-15 10:30' -u nginx