This page contains help on how to use find command in Linux
Command to find files with zero size
find . -size 0 -type f
Command to find and remove files with certain extension (for example .pyc files)
find . -name *.pyc -exec rm -rf {} \;
find . -size 0 -type f
find . -name *.pyc -exec rm -rf {} \;