|This article needs additional citations for verification. (April 2008)|
find is a command in the command line interpreters (shells) of DOS, OS/2 and Microsoft Windows. It is used to search for a specific text string in a file or files. The command sends the specified lines to the standard output device.
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.
FIND [/V] [/C] [/N] [/I] "string" [[drive:][path]filename[...]]
"string"This command-line argument specifies the text string to find.
[drive:][path]filenameSpecifies a file or files to search.
/VDisplays all lines NOT containing the specified string.
/CDisplays only the count of lines containing the string.
/NDisplays line numbers with the displayed lines.
/IIgnores the case of characters when searching for the string.
Note: If a pathname is not specified, FIND searches the text typed at the prompt or piped from another command.
find "keyword" < inputfilename > outputfilename
- find (command-line utility for Unix)
- Regular expression
- Wildcard character
- List of DOS commands
|This computer storage-related software article is a stub. You can help Wikipedia by expanding it.|
|This Microsoft Windows article is a stub. You can help Wikipedia by expanding it.|