help please

. Display a sorted list of all of the files in the current directory and the number of lines and words in each. You should not have �total' in your output. (Your script can assume that the current directory contains just files and no subdirectories)

this is what i got so far

wc -l -w *
but it keeps giving me the total file too

please help me

what host name r u using?

how about:

wc -l -w * | grep -v total

i think bash

thank you soooo much that helped alot i am new to this thank you again god bless

Please read the rules and do not post homework assignments.