$ find -name "*.php" | xargs grep '検索したい単語'
.bashrcにエイリアス貼るのもいいかも
alias pgrep='find -name "*.php" | xargs grep'
$ pgrep '検索したい単語'
More than 5 years have passed since last update.
$ find -name "*.php" | xargs grep '検索したい単語'
.bashrcにエイリアス貼るのもいいかも
alias pgrep='find -name "*.php" | xargs grep'
$ pgrep '検索したい単語'
Register as a new user and use Qiita more conveniently