count no of files in folder linux code example Example: count no of file in a directory in unix ls -1 | wc -l