Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2002 19:53:09 +0000
From:      "How Can ThisBe" <howcanthisbe300@hotmail.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   count files in a directory with ls?
Message-ID:  <F27UtI9dm5UxP9Fekza0000013f@hotmail.com>

next in thread | raw e-mail | index | archive | help
How can I return the number of files in a directory? I was hoping for some 
kind of ls switch but did not find one. I did get excited about du -c but 
this returns a total of bytes, not files.

Any ideas? I thought this would be have been something simple to find, I 
guess I may have just been looking in the wrong direction.

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F27UtI9dm5UxP9Fekza0000013f>