LoginSignup
0
0

More than 5 years have passed since last update.

(自分メモ)Linux 検索コマンド 修正中

Last updated at Posted at 2017-04-25

よく使う検索コマンド

grep -R -e -i edit *
grep -R -e 'メール送信'
-R
各ディレクトリの下にあるすべてのファイルを再帰的に読み込みます。
これは -d recurse オプションと等価です。

-e
PATTERN をパターンとして指定します。 - で始まるパターンを保護するために有効です。

-i
アルファベットの大文字、小文字を区別しない

find / | grep edit
「/」直下でeditを検索する

0
0
1

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
0
0