find / -type f -regex '.*\.\(tmp\|bak\|\$\$\$\|chk\|old\|gid\|fts\|ftg\|log\|dmp\|---\|prv\|temp\)$' -exec rm \{\} \; #### ------------ :Wq Not an editor command: Wq