On Thu, 14 Sep 2000, Adam Sleight spewed into the bitstream:
AS>can't think today...how doe one count the number of files within a
AS>directory...yes I know du, df, and wc for words in a file.
This works for me...
ls -1A|wc -l
Note that it does not exclude directory entries but it does exclude the
"." and "..".
--
Chuck Mead, CTO, LinuxMall.com
[EMAIL PROTECTED]
GnuPG Public Key Available: http://www.pgp.net/wwwkeys.html
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list