On Wednesday, Aug 2nd 2006 at 15:01 -0500, quoth Les Mikesell: =>On Wed, 2006-08-02 at 07:42 -0700, bruce wrote: =>> hi... =>> =>> i was actually looking for something similar to the ms dir function, where i =>> can have the files listed, along with the size of the files, and the total =>> number of files at the end of the list.. => =>'man ls' will probably show more options than you want to know, but =>a count of files isn't one of them. If you want the count of lines =>that anything generates, you can pipe it through wc, though. => =>-- => Les Mikesell => lesmikesell@xxxxxxxxx function myls () { ls -l "$@" echo echo $(ls -l "$@") 'files found' } Feel free to pee into this. -- steveo at syslang dot net TMMP1 http://frambors.syslang.net/ Do you have neighbors who are not frambors?