Difference between revisions 507771 and 507772 on knwiki

{{lowercase|title=find}} 
:''For the EP by Hidden in Plain View, see [[Find (EP)]]''

The <code>'''find'''</code> program is a [[search utility]], mostly found on [[Unix-like]] platforms. It searches through one or more [[directory (file systems)|directory]] [[tree (computing)|tree(s)]] of a [[filesystem]], locating [[Computer file|file]]s based on some user-specified criteria. By default, <code>find</code> returns all files below the current [[working directory]]. Further, <code>find</code> allows the user to specify an action to be taken on each matched file. Thus, it is an extremely powerful program for applying actions to many files. It also supports [[Regular expression|regexp]] matching.
==Examples==
===From current directory===
 find . -namency 'my*'
This searches in the current directory (represented by a period) and below it, for files and directories with names starting with ''my''. The quotes avoid the shell expansion - without them the shell would replace ''my*'' with the list of files whose names begin with ''my'' in the current directory.

===Files only===
 find . -name "my*" -type f
(contracted; show full)
{{unix commands}}

[[Category:Unix software]]
[[Category:Searching]]

[[de:Find]]
[[pl:Find]]