how to delete files in linux teminal code example
Example 1: linux delete appledouble files
find . -name ".DS_Store" -exec rm -Rf {} \;
find . -name ".apdisk" -exec rm -Rf {} \;
find . -name ".AppleDouble" -exec rm -Rf {} \;
find . -name ".AppleDB" -exec rm -Rf {} \;
find . -name "afpd.core" -exec rm -Rf {} \;
find . -name ".TemporaryItems" -exec rm -Rf {} \;
find . -name "__MACOSX" -exec rm -Rf {} \;
find . -name "._*" -exec rm -Rf {} \;
Example 2: how to delete files in linux
rm <file> .. rm -r <file> .. r stands for recursive