count the number of files that begin with ... in terminal code example Example: count no of file in a directory in unix ls -1 | wc -l