- Find (command)
In
computing ,find
is a command in thecommand line interpreter s (shells) ofDOS ,OS/2 andMicrosoft Windows . It is used to search for a specific text string in a file or files. The command sends the specified lines the standard ouput device.It is equivalent to the
Unix command
. The Unix commandgrep
performs an entirely different function.find Overview
The
find
command is filter to find lines in the input data stream that contain or don't contain a specified string and send these to the output data stream.yntax
Arguments:
*"string"
Thiscommand-line argument specifies the text string to find.
*[drive:] [path] filename
Specifies a file or files to search.Flags:
*/V
Displays all lines NOT containing the specified string.
*/C
Displays only the count of lines containing the string.
*/N
Displays line numbers with the displayed lines.
*/I
Ignores the case of characters when searching for the string.Note:If a pathname is not specified, FIND searches the text typed at the promptor piped from another command.
Example
ee also
*
Regular expression
*Wildcard character
*List of DOS commands References
* [http://technet.microsoft.com/en-us/library/bb490906.aspx Microsoft TechNet Find article]
Wikimedia Foundation. 2010.