Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

find

Search for files in directory hierarchy

Syntax

find [PATH]... [EXPRESSION]

Common Options

-nameSearch by name pattern
-typeSearch by type (f/d/l)
-sizeSearch by file size
-mtimeSearch by modification time
-execExecute command on results
-deleteDelete found files

Common Examples

find . -name "*.txt"

Find all txt files

find . -type f -size +100M

Find files larger than 100MB

find . -mtime -7

Files modified in last 7 days

find . -name "*.log" -delete

Delete all log files

Related Commands

Related Tools

More Code & Dev Tools