find type of files in folder code example Example: find type of files in folder find . -type f | sed -n 's/..*\.//p' | sort | uniq -c