← Learn
Safe
find /var/log -name '*.log' -mtime +30 -print

linux · bash · Intermediate

A pure query: it prints the paths of log files older than thirty days and takes no action on any of them. The result is a list you can read…

The full explanation and danger signals for this pack are part of Pro.

Think you can spot these under time pressure?

Start Training

More File System

Safe: find /var/log -name '*.log' -mtime +30 -print — ReflexSec