how to count using the command linre ls code example Example: how to check how many files are in a folder linux $ ls | wc -l