๐ŸŽ 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

Nftables
The modern Linux packet filtering framework that replaces iptables with a unified, more efficient rule-processing architecture.
Grep
A command-line utility for searching plain-text data for lines matching a regular expression pattern.
Namespace
A Linux kernel feature that provides process isolation by creating separate instances of global system resources.
Symbolic Link
A special file that acts as a shortcut pointing to another file or directory in the filesystem.
Linux Kernel Module
A piece of code that can be loaded into the kernel at runtime to extend functionality without rebooting, such as device drivers and filesystems.
RAID
Redundant Array of Independent Disks โ€” a technology combining multiple physical drives into a single unit for performance, redundancy, or both.
View All Linux Terms โ†’