UNIXの部屋 コマンド検索:find (*BSD/Linux)
prune それ以上ディレクトリを降りない。特定のディレクトリ以下を除外する場合に有用
$ find /etc/cron.d/* -prune | xargs grep 'hoge'
UNIXの部屋 コマンド検索:find (*BSD/Linux)
prune それ以上ディレクトリを降りない。特定のディレクトリ以下を除外する場合に有用
$ find /etc/cron.d/* -prune | xargs grep 'hoge'