help please


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers help please
# 1  
Old 09-23-2008
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
# 2  
Old 09-23-2008
what host name r u using?
# 3  
Old 09-23-2008
Quote:
Originally Posted by kerryann09
. 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
how about:
Code:
wc -l -w * | grep -v total

# 4  
Old 09-23-2008
i think bash
# 5  
Old 09-23-2008
thank you soooo much that helped alot i am new to this thank you again god bless
# 6  
Old 09-24-2008
Please read the rules and do not post homework assignments.
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question