#Find all File's name that starts with chapter-CHAPTER in a Directory count=$(echo $PATH |ls | grep '^moby-CHAPTER' | wc -l) echo $count chapters