![]() |
|
|
|
|
|||||||
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CPU, memory and disk stats | ungnown.admin | SUN Solaris | 6 | 05-14-2008 04:00 PM |
| system stats | rocker40 | AIX | 2 | 04-14-2008 07:24 AM |
| display filename with date | pstanand | Shell Programming and Scripting | 1 | 03-28-2008 04:35 AM |
| can I use ps to log overall system stats. | thebytegrill | AIX | 8 | 10-07-2007 02:20 AM |
| I/O Stats Metrics | LivinFree | UNIX for Advanced & Expert Users | 0 | 06-06-2006 09:38 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Display filename and wc stats
I'm just learning UNIX and I'm trying to do the following:
Write a script called details.bash that, for each file in the working directory, prints the filename, the # of lines, and the # of words to to some output file, like this: filename1 73 431 filename2 5 21 It's probably a stupid question, but again I'm just learning. |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|