how to remove all pyc files in ubuntu code example Example: remocve pyc files find . -name "*.pyc" -exec rm -f {} \;