figure out how many of a type of file in a directory linux code example Example: how to check how many files are in a folder linux $ ls | wc -l