Invalidate all nscd caches at once

If you ever need to invalidate all chached object of the nscd-daemon at once, you could try this one-liner:

for f in /var/db/nscd/*; do nscd -i $(basename $f); done

Leave a comment

Your email address will not be published. Required fields are marked *