LoginSignup
2

More than 5 years have passed since last update.

posted at

phpファイル内の単語を探すコマンド

$ find -name "*.php" | xargs grep '検索したい単語'

.bashrcにエイリアス貼るのもいいかも

alias pgrep='find -name "*.php" | xargs grep'
$ pgrep '検索したい単語'

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
What you can do with signing up
2