linux find and delete files code example
Example 1: linux find and delete files with name
$ find -type f -name '*install*' -delete
Example 2: how to delete files in linux
rm <file> .. rm -r <file> .. r stands for recursive
Example 3: pipe find to rm
find /usr/www/bar/htdocs -mtime +15 -exec rm {} \;