<code>find</code> is a shell command that searches for text in files and prints matching lines to standard output.
The command is available in DOS, Digital Research FlexOS, IBM/Toshiba 4690 OS, IBM OS/2, Windows, and ReactOS. On MS-DOS, the command is available in versions 2 and later. DR DOS 6.0 and Datalight ROM-DOS include an implementation of the command. The FreeDOS version was developed by Jim Hall and is licensed under the GPL.
Notably, the same-named Unix-based command performs an entirely different function searching the file system for matching files. This functionality is provided by the <code>forfiles</code> command in an environment with the command of this article. The Unix-based <code>grep</code> command provides a function similar to the command of this article.
The command syntax can be described as:
The following command searches file "Foo" for lines that contain "Important" and prints results to standard output.