Difference between revisions 507826 and 507827 on knwiki{{otheruses}} {{lowercase|title=find}} The <code>'''find'''</code> program is a [[directory (file systems)|directory]] [[search utility]] on [[Unix-like]] platforms. It searches through one or more directory [[tree (computing)|trees]] 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|regex]] matching. The <code>find</code> program is no longer preferred for searching for files by name in the entire filesystem. Instead, the <code>[[GNU_locate|locate]]</code> programs, which use a database of indexed files, is more efficient. == Find syntax == 1A single white space is needed to divide syntax elements when writing a find command. Otherwise, some usage error will come up. ==Examples== ===From current directory=== find . -name 'my*' (contracted; show full)[[de:Find]] [[es:Find]] [[fr:Find]] [[hu:Find]] [[ja:Find]] [[pl:Find]] [[pt:Find]] [[ru:Find]] All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://kn.wikipedia.org/w/index.php?diff=prev&oldid=507827.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|