LoginSignup
0
0

More than 5 years have passed since last update.

ファイル名と行番号付きで結果出力

Posted at

備忘。-Rと-nをつける。参考: http://takuya-1st.hatenablog.jp/entry/20100316/1268739433
grep -R -n "HOGEHOGE" *.php
find . -iname "*.php" -exec grep -R -n "HOGEHOGE" {} \;

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