Wazaterm » Linux Commands » find

How to use find Linux command

The find is a command for recursively filtering objects in the file system based on a simple conditional mechanism. Use the find command to search for a file or directory on your file system. You used it in various conditions like you can find files by permissions, users, groups, file type, date, size, and other possible criteria.


Find files modified in the last 10 days from current directory and show the detailed list

$ find . -mtime -10 -ls

Find files larger than 100MB in the current directory

$ find . -size +100M

List subdirectories only n level[s] deep

$ find -maxdepth N