文字列検索 (grep) ユーティリティ
find
- C:\Windows\system32\find.exe /?
Output:
ファイル (複数可) 内のテキスト文字列を検索します。
FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] "文字列" [[ドライブ:][パス]ファイル名[...]]
/V 指定した文字列を含まない行をすべて表示します。
/C 指定した文字列を含む行の数だけを表示します。
/N 行番号を表示します。
/I 大文字と小文字の区別をしないで検索します。
/OFF[LINE] オフライン属性が設定されたファイルをスキップしません。
"文字列" 検索する文字列を指定します。
[ドライブ:][パス]ファイル名
検索するファイル (複数可) を指定します。
パスが指定されていないときは、プロンプトで入力されたテキストまた
は別のコマンドからパイプ処理で渡されたテキストを検索します。
Searches for a text string in a file or files.
FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] "string" [[drive:][path]filename[ ...]]
/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.
/OFF[LINE] Do not skip files with offline attribute set.
"string" Specifies the text string to find.
[drive:][path]filename
Specifies a file or files to search.
If a path is not specified, FIND searches the text typed at the prompt
or piped from another command.
Return Code: 0
C:\Windows\system32\find.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 17920bytes |
| Creation Time | 2022/07/08 08:50:26 |
| LastWrite Time | 2022/07/08 08:50:26 |
| ProductVersion | 10.0.19041.1889 |
| FileVersion | 10.0.19041.1889 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | 4bf76a28d31fc73aa9fc970b22d056af |
| SHA1 | 6ea23626da24d58a32e98e0708aa29bafdfc5905 |
| SHA224 | 28c4622bc0c6cfb480049aba91fdf11f19fd4098c70c444d8441ef19 |
| SHA256 | 3796ecbf04e6a1162078ad914ac76cc41761166574b7a2f5e07e5e0d1e80d3dd |
| SHA384 | 1f5f34dfc0d21b0c80e2e90155b3b5e33978e2a31c0514c486889909332febbd52dd261c71e4166c08a4af81d3cd4cfd |
| SHA512 | 7b61606845a2953b982613322283785e77bd9dd02be0eb24af7dbc48a3d5b0eb369dd0fd1a1fc92176ff82f99b0426cd9b07e9f73d313102045abb56a27de77c |