Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Purge Quarantined Viruses
#!/bin/sh
for i in `awk '!/nobody/{print $2 | "sort | uniq" }' /etc/userdomains | sort | uniq`; do
QUARANTINE="/home/${i}/quarantine/"
rm -rf $QUARANTINE &>/dev/null
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment