Find (command)

Find (command)

In computing, 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 the standard ouput device.

It is equivalent to the Unix command grep. The Unix command find performs an entirely different function.

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

FIND [/V] [/C] [/N] [/I] "string" [drive:] [path] filename [...]

Arguments:
*"string" This command-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

find "keyword" < inputfilename > outputfilename

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.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Find (disambiguation) — Find or finding may refer to:Computing * Incremental find * find, a command on UNIX platforms. * Find (command), a different command on DOS, OS/2 and Microsoft Windows platforms.Music * Find (EP), a music album by Hidden in Plain View. * The Find …   Wikipedia

  • Find — The find program is a directory search utility on Unix like platforms. It searches through one or more directory trees of a filesystem, locating files based on some user specified criteria. By default, find returns all files below the current… …   Wikipedia

  • find — find  утилита поиска файлов, используемая в UNIX‐подобных операционных системах. Может производить поиск в одном или нескольких каталогах с использованием критериев, заданных пользователем. По умолчанию, find возвращает все файлы в рабочей… …   Википедия

  • Command & Conquer: Renegade — Developer(s) Westwood Studios Publisher(s) EA Games Se …   Wikipedia

  • Command & Conquer: Yuri's Revenge — Developer(s) Westwood Pacific Publisher(s) EA Games Series …   Wikipedia

  • Find — утилита поиска файлов, используемая в UNIX‐подобных операционных системах. Может производить поиск в одной или нескольких директориях с использованием критериев, заданных пользователем. По умолчанию, find возвращает все файлы после текущего в… …   Википедия

  • find — est une commande UNIX permettant de chercher des fichiers dans un ou plusieurs répertoires selon des critères définis par l utilisateur. Par défaut, find retourne tous les fichiers contenus dans l arborescence du répertoire courant. find permet… …   Wikipédia en Français

  • Command.com — Le programme COMMAND.COM est l interpréteur de commandes du système MS DOS. On ne le confondra pas avec cmd.exe, qui est l interpréteur de commande de Windows NT (Windows 2000, Windows XP...) et d OS/2. Les commandes de cmd.exe sont inspirées,… …   Wikipédia en Français

  • Find — Saltar a navegación, búsqueda find es un comando común en sistemas Unix que se utiliza para encontrar archivos en un determinado directorio a partir de diversas reglas de búsqueda, tales como nombre exacto de archivo, fecha de creación, tamaño,… …   Wikipedia Español

  • Command Center (Power Rangers) — The Command Center, later called the Power Chamber, is the fictional headquarters for the Power Rangers in the television series Mighty Morphin Power Rangers and its sequels up to Power Rangers Turbo. Initially, the base was called the Command… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”