LoginSignup
2
2

More than 5 years have passed since last update.

Mac/Linuxでファイル内文字列検索

Posted at

Mac/Linuxでファイル内にある特定の文字列を検索したい

Terminalでさくっと調べる場合に便利

Linuxの場合
find . -type f -print | xargs grep 検索したい文字列
Macの場合
find . -type f -print0 | xargs -0 grep 検索したい文字列
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2