find and truncate code example Example: find and truncate find ${listener}/tracefiles -name ${listener}.log -exec truncate -s0 {} \;