by shigemk2

当面は技術的なことしか書かない

findのprune

UNIXの部屋 コマンド検索:find (*BSD/Linux)

prune それ以上ディレクトリを降りない。特定のディレクトリ以下を除外する場合に有用

$ find /etc/cron.d/* -prune | xargs grep 'hoge'