Linux Quiz #007

Shell Word Count (Submit Answer)

Create a bash shell script that when given a filename as the first argument will print out the number of words in the filename. The filename can be any text file and a word is defined as a sequence of one or more printable characters, not including whitespace characters.

Leave a Reply