๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Linux Beginner

What is Find?

A powerful command for searching files and directories based on various criteria like name, size, type, and modification time.

Find traverses directory trees to locate files matching specified criteria. Examples: find /var/log -name "*.log" -mtime -7 (logs modified in last 7 days), find . -size +100M (files over 100MB), find . -type d -empty (empty directories).

The -exec flag runs commands on results: find . -name "*.tmp" -exec rm {} \;. Combining with -print0 and xargs -0 handles filenames with spaces safely. Find is essential for system administration and cleanup tasks.

Related Terms

Awk
A powerful text processing language for extracting and manipulating structured data from files or command output.
Nftables
The modern Linux packet filtering framework that replaces iptables with a unified, more efficient rule-processing architecture.
Crontab Syntax
The time specification format used in cron job scheduling, with five fields defining minute, hour, day of month, month, and day of week.
Process
A running instance of a program, with its own memory space, process ID, and system resources.
Systemd Timer
A systemd unit that triggers services on a schedule or at specific events, serving as a modern alternative to cron jobs.
File Permissions
A security mechanism that controls who can read, write, or execute files and directories in Unix-like systems.
View All Linux Terms โ†’