Difference between revisions 507996 and 507997 on knwiki{{other uses}} {{lowercase|title=find}} In [[Unix-like]] and some other [[operating system]]s, <code>'''find'''</code> is a [[command-line utility]] that [[Search engine (computing)|searches]] through one or more [[directory tree]]s of a [[file system]], locates [[Computer file|file]]s based on some [[user (computing)|user]]-specified criteria and applies a user-specified action on each matched file. The possible search criteria include a [[pattern matching|pattern(contracted; show full) * '''s '''[[Unix domain socket|socket]] * '''D '''[[Doors (computing)|door (Solaris)]] (Bold listed configuration switches are most commonly used) ==Examples== ===From current directory=== find . -name 'my*' <ref> Note that for RedHat Linux Version 9: <pre>$ find . -name my* find: paths must precede expression.</pre> Double quotes find . -name "my*" works fine. </ref>⏎ ⏎ This searches in the current directory (represented by the dot character) and below it, for files and directories with names starting with ''my''. The quotes avoid the [[shell (computing)|shell]] expansion — without them the shell would replace ''my*'' with the list of files whose names begin with ''my'' in the current directory. In newer versions of the program, the directory may be omitted, and it will imply the current directory. (contracted; show full)*[[findutils]] *[[Tree (Unix)| tree]] ==External links== *{{man|cu|find|SUS|find files}} *{{man|1|find||search for files in a directory hierarchy}} *[http://doc.cat-v.org/unix/find-history A story on the origins of the Unix find command]. *[http://www.gnu.org/software/findutils/ GNU Findutils] <ref> Comes with the [[xargs]] and [[GNU locate|locate]] commands.</ref> *[http://www.gnu.org/software/findutils/manual/html_mono/find.html Official webpage for GNU find] *[http://www.softpanorama.org/Tools/Find/find_mini_tutorial.shtml Softpanorama find tutorial] *[http://www.enciclopedia.galeon.com/find.html Exercises "Find"] *[http://www.oracle.com/technetwork/articles/calish-find-087766.html Guide to Linux Find Command Mastery] *[http://www.shell-fu.org/lister.php?tag=find Top 'find' commands - interesting usage] == 주석 == <references />⏎ {{Unix commands}} [[Category:Searching]] [[Category:Standard Unix programs]] [[Category:Unix SUS2008 utilities]] 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=507997.
![]() ![]() 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.
|