On Thu, Sep 14, 2000 at 08:26:15PM -0700, Adam Sleight wrote:
> can't think today...how doe one count the number of files within a
> directory...yes I know du, df, and wc for words in a file.  

To count _files_, excluding symlinks and directories:

        find . -type f -maxdepth 1 | wc -l
-- 
\Peter.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to