Find (Unix): Difference between revisions

Content deleted Content added
Citation provided
Line 67:
This command searches the current working directory tree except the subdirectory tree ".svn" for files whose name is "foo.cpp". We quote the <code>!</code> so that it's not interpreted by the shell as the history substitution character.
 
==Type filter explanationfilters==
<code>find</code> can select files by type. Those recognized by the -type switch include esoteric Unix special files as well as the more commonly sought "regular" files and directories.
Various type filters are supported by <code>find</code>. They are activated using the configuration switch:
<source lang="console">
$ find -type x
Line 81:
* '''s''' - [[Unix domain socket|socket]];
* '''D''' - [[Doors (computing)|door]].
 
The configuration switches listed in bold are most commonly used.
 
==Examples==