find
CautionFind files
find <path> -name '<pattern>'
Recursively finds files by name/type/mtime/size.
Examples
find /var -name '*.log' -mtime +30Logs older than 30 daysfind . -type f -size +100MFiles over 100MB
Syntax
find <path> [-name <pat>] [-type f|d] [-mtime n] [-exec ... \;]
Before you run it
Combined with -exec rm it can be destructive.
Used when you see
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store