To quote "john smith" <[EMAIL PROTECTED]>, # 1. How can I find out the total number of files (also hidden) in the current # directory? # # 2. How can I find out the total number of executable files (also hidden) in # the current directory? # # 3. how to find the total number of files of a given an extension? # (ex."*.tar.gz") # # 4.how to list files alphabetically that end in "*.c"?
You can use 'find' for all of those. 'man find' :) David Barclay Harris, Clan Barclay Aut agere, aut mori. (Either action, or death.)