How to remove all .htaccess files recursively

The following command recursively removes all .htaccess files from the current directory and all subdirectories:

Please note that the files are deleted directly and not moved to the trash bin, so consider making a backup!

find . -name ".htaccess" -exec rm -v {} \;